Jump to content

KevinKor

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. KevinKor

    MultiDimensional Array with ArraysHelper

    Hey Olman, Just discovered the small error - the class that in which the object is instantiated from has a property of a single dimensional array. It's now fixed, but I've attached snippet if you're still interested. Thanks, Kevin castArrayError.cs
  2. KevinKor

    MultiDimensional Array with ArraysHelper

    Error occurs on line 74. Comments above, from line 69 -71. Thanks, Kevin VBUC_CastArray_Sample.cs
  3. When attempting to cast multidimensional arrays, I get the error, "Additional information: AIS-Exception. Cannot cast a System.String[,] to a System.String[]". This occurs in the ArraysHelper class, under the method, "public static TA CastArray<TA>(Array srcArray) where TA : class". The method works fine when passing single dimensional arrays.
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use