i want to write this code( java ) on c# , but receive this error message
Unable to cast object of type 'System.SByte[,]' to type 'System.SByte[][]'.
java code is :
byte[][] bArr2 = (byte[][]) Array.newInstance(byte.class, new int[]{2, 8});
my csharp code is
sbyte[][] bArr2 = (sbyte[][])Array.CreateInstance(typeof(sbyte), new int[] { 2, 8 });
thanks