Example #1
0
 public static Array CreateArray(Type elementType, Array sourceArray)
 {
     return Array.CreateInstance(elementType, sourceArray.GetLengths());
 }