Ejemplo n.º 1
0
    public static void Main()
    {
        Employee obj = new Employee();
        int      x = 10, y = 20;
        xyz      ob = new xyz();

        ob.Show(x, y);         //actual argument
        Console.WriteLine("X = " + x + " Y = " + y);
        ob.Show(ref x, ref y); //actual argument
        Console.WriteLine("new X = " + x + " new Y = " + y);
    }