//Visual Basic 2010 Shadowing - Shadows Static Typing en Dynamic Binding namespace FragileBaseClass1 { public class Example { public static void Main() { CountedCharString countedCharString1 = new CountedCharString(); countedCharString1.Add('a'); countedCharString1.Add('b'); countedCharString1.AddAll(new char[] { 'c', 'd'}); Console.WriteLine(countedCharString1.ToString()); Console.WriteLine(countedCharString1.Count); Console.ReadLine(); } } //Bezoek www.vbvoorbeelden.be voor meer C# voorbeelden. //Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.