Skip to content

Instantly share code, notes, and snippets.

@vkbandi
Created September 16, 2015 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkbandi/310a47b211170dee7cd6 to your computer and use it in GitHub Desktop.
Save vkbandi/310a47b211170dee7cd6 to your computer and use it in GitHub Desktop.
Simple code to show how to store values in array in C#
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