コード例 #1
0
 public void ArrayUtility_ChangeType_2()
 {
     string[] source = { "1", "2", "3" };
     object[] target = ArrayUtility.ChangeType <object>(source);
     Assert.AreEqual(source.Length, target.Length);
     for (int i = 0; i < source.Length; i++)
     {
         Assert.IsTrue
         (
             ReferenceEquals(source[i], target[i])
         );
     }
 }