コード例 #1
0
 public void Initialize()
 {
     Test = new RelationalList <string, int>()
     {
         { "one", 1 },
         { "two", 2 },
         { "three", 3 },
         { "four", 4 },
         { "five", 5 }
     };
 }
コード例 #2
0
 public void UniqueTypes()
 {
     try
     {
         var test = new RelationalList <string, string>();
         Assert.Fail();
     }
     catch
     {
         //pass - threw an exception when given invalid types
     }
 }