demonstrates variables
using System; public class Example2DemonstratesVariables { public static void Main() { int x; int y; x = 10; Console.WriteLine("x contains " + x); y = x / 2; Console.Write("y contains x / 2: "); Console.WriteLine(y); } }