Created
March 15, 2018 16:40
-
-
Save deanhume/9e7acfcb5166282d5a0ecc57459b1fa6 to your computer and use it in GitHub Desktop.
WhileLoop
This file contains hidden or 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
/// <summary> | |
/// Loops through the list until it | |
/// reaches a count of 3000. | |
/// </summary> | |
public void WhileLoop() | |
{ | |
List<string\> list = new List<string>(); | |
int x = 0; | |
do | |
{ | |
list.Add("Test" \+ x); | |
x++; | |
} while (x < 3000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment