c# array with initial value 0 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.