Black Rose
New member
How to declare constant array in VB.NET like this one in JAVA???
static final int[] ABC= {65, 66, 67};
I tried this:
Private Const ABC() As Int16 = New Int16() {65, 66 ,67}
But I got this error:
Constants must be of an intrinsic or enumerated type, not a class, structure, type parameter, or array type.
Any help, Please,,,
static final int[] ABC= {65, 66, 67};
I tried this:
Private Const ABC() As Int16 = New Int16() {65, 66 ,67}
But I got this error:
Constants must be of an intrinsic or enumerated type, not a class, structure, type parameter, or array type.
Any help, Please,,,