G
Guest
Hi Guys,
I have a bunch of Java code, and want to convert them to C# code?
esp:
this code:
Java:
private const byte[] map2 = new byte[128];
static
{
for (int i=0; i<map2.length; i++) map2 = -1;
for (int i=0; i<64; i++) map2[map1] = (byte)i;
}
To C#
???
???
how to convert it into initlize the const arry?
Sorry my first C# program?
Thanks.
I have a bunch of Java code, and want to convert them to C# code?
esp:
this code:
Java:
private const byte[] map2 = new byte[128];
static
{
for (int i=0; i<map2.length; i++) map2 = -1;
for (int i=0; i<64; i++) map2[map1] = (byte)i;
}
To C#
???
???
how to convert it into initlize the const arry?
Sorry my first C# program?
Thanks.