コード例 #1
0
    public static void Main(string[] args)
    {
        var o = new MyTarget();

        Console.WriteLine("Hashcode1: " + o.GetHashCode());

        MyDel d = o.DoStuff;

        Console.WriteLine("Hashcode2: " + d.GetHashCode());
        Console.WriteLine("Hashcode3: " + o.GetHashCode());

        o.Dispose();
        Console.WriteLine("Hashcode4: " + d.GetHashCode());
    }