예제 #1
0
        public string this[TwoForm <string, int> k]
        {
            get
            {
                string r;
                try
                {
                    r = arguments[k];
                }
                catch (KeyNotFoundException)
                {
                    r = null;
                }

                return(r);
            }
        }
예제 #2
0
 public bool Equals(TwoForm <T, K> b)
 {
     return(isK == b.isK && ((isK && kval.Equals(b.kval)) || (!isK && tval.Equals(b.tval))));
 }