Skip to content

Instantly share code, notes, and snippets.

@JoshVarty
Created February 6, 2015 01:21
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 JoshVarty/4859db68ba6bf0a9205a to your computer and use it in GitHub Desktop.
Save JoshVarty/4859db68ba6bf0a9205a to your computer and use it in GitHub Desktop.
public class Sample
{
public void Foo()
{
int[] outerArray = new int[10] { 0, 1, 2, 3, 4, 0, 1, 2, 3, 4};
for (int index = 0; index < 10; index++)
{
int[] innerArray = new int[10] { 0, 1, 2, 3, 4, 0, 1, 2, 3, 4 };
index = index + 2;
outerArray[index - 1] = 5;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment