static void Main(string[] args) { NumberManipulator n = new NumberManipulator(); /* local variable definition */ int a = 100; Console.WriteLine("Before method call, value of a : {0}", a); /* calling a function to get the value */ n.getValue(out a); Console.WriteLine("After method call, value of a : {0}", a); Console.ReadLine(); int c, d; /* calling a function to get the values */ n.getValues_KB(out c, out d); Console.WriteLine("This is the second method"); Console.WriteLine("After method call, value of a : {0}", c); Console.WriteLine("After method call, value of b : {0}", d); Console.ReadLine(); }