Do While Loop
Do While loop is a variant of the while loop. This loop will always be executed at least once, even if the condition is false, because the code is executed before the condition is tested. The do while loop starts with the do keyword followed by a code and a boolean expression with the while keyword. The do while loop stops repeating when boolean condition inside while turns to false.
CODE
EG 1 . Printing 1 to 5 using Do While loop
static void Main(string[] args) {
    int i = 1;
    do {
        Console.WriteLine(i);
        i++;
    } while (i<=5);
}
EG 2 . Printing 5 to 1 using Do While loop
static void Main(string[] args) {
    int i = 5;
    do {
        Console.WriteLine(i);
        i--;
    } while (i>=1);
}
(Click Here, For more exercises)