SyntaxFix
Write A Post
Hire A Developer
Questions
you could write an extension method
public static void Fill<T>(this T[] array, T value) { for(int i = 0; i < array.Length; i++) { array[i] = value; } }