Created
September 16, 2015 20:45
-
-
Save vkbandi/310a47b211170dee7cd6 to your computer and use it in GitHub Desktop.
Simple code to show how to store values in array in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int myArray = new int[10]; | |
for (int i = 0; i < myArray.Length; i++) | |
{ | |
myArray[i] = i; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment