예제 #1
0
    public static int Main()
    {
        MCell <int>         c = new MCell <int>(1);
        MPair <int, string> p = c.GetMPair <string>("2");

        c.Gather <float, long>((float)0.5, (long)0);
        return(100);
    }
예제 #2
0
 public void Gather <A, B>(A a, B b)
 {
     MPair <A, B> p1 = new MPair <A, B>(a, b);
     MPair <T, A> p2 = new MPair <T, A>(_t, a);
     MPair <MPair <A, B>, MPair <T, A> > p3 = new MPair <MPair <A, B>, MPair <T, A> >(p1, p2);
     MPair <T, A> p4 = GetMPair <A>(a);
     MCell <A>    c1 = new MCell <A>(a);
 }