Beispiel #1
0
        static void Main(string[] args)
        {
            var     person = new Person();
            ISalary salary = person; //boxing, temp copy, vtable lookup

            Console.WriteLine(person);
            salary.Increase();
            Console.WriteLine(person);
        }