Created
January 3, 2018 11:00
-
-
Save KennethanCeyer/b877304f99e5b3155c1b47642648fe8c to your computer and use it in GitHub Desktop.
do while with continue keyword
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
[HttpPost] | |
public void DoWhile() | |
{ | |
var index = 0; | |
do | |
{ | |
Debug.WriteLine($"{index} loop"); | |
index++; | |
continue; | |
} while (false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OUTPUT: