public static void Main()
Console.Write("Enter first number: ");
a = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter second number: ");
b = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter third number: ");
c = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("{0}, {1}, {2} ", c, a, b);
Console.WriteLine("{0}, {1}, {2} ", a, b, c);
Console.WriteLine("{0}, {1}, {2} ", a, c, b);
Console.WriteLine("{0}, {1}, {2} ", b, c, a);
Console.WriteLine("{0}, {1}, {2} ", b, a, c);
Console.WriteLine("{0}, {1}, {2} ", c, b, a);