initialise an array with 0 values c# code example
Example: C# int array initial values
When you create an array, C# compiler implicitly initializes each array element to a default value depending on the array type. For example, for an int array all elements are initialized to 0.