class MainClass { static void Main() { int count; int result; count = 0; result = ++count; System.Console.WriteLine("result = {0} and count = {1}", result, count); } }