//C# Dynamic Binding Static Typing en Dynamic Binding public class Person { } public class Student : Person { } public class Example1 { public static void Main() { Person person1 = new Person(); Student person2 = new Student(); Person person3 = new Student(); } } public class Person { private string m_Name; public virtual string Name { get { Name = this.m_Name; } set { this.m_Name = value; } } } public class Example2 { public static void Main() { Person person1 = new Person(); } } //Bezoek www.vbvoorbeelden.be voor meer C# voorbeelden. //Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.