using System;
public class Program
{
public static void Main()
int k = 3;
string s = "";
while(k>-1)
s = k + " " + s; //Every time we loop, append k's value to our string (on the front)
k--;
Console.WriteLine(String.Format("Print out for testing, s is: {0}", s)); //Intermittent value of s for testing
}
Console.WriteLine(s); //only print the end result at the end