Beispiel #1
0
    static void Main(string[] args)
    {
        var thing      = new Thing();
        var otherThing = new OtherThing();

        thing.Accept(otherThing);
        Console.WriteLine(thing.I);
        Console.Read();
    }