Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Snippet - C# loop
int[] fibarray = new int[] { 0, 1, 1, 2, 3, 5, 8, 13 };
foreach (int element in fibarray) {
System.Console.WriteLine(element);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment