hi, all.
I have a java project.
now I want to change it to C#
there is one code, I am confused.
How to convert it into C#?
Thanks
// We can use in C#
private static char[] map1 = new char[]
{
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
'0','1','2','3','4','5','6','7','8','9',
'+','/'
};
????????????????
private static byte[] map2 = new byte[128];
static
{
for (int i=0; i<map2.length; i++) map2[i] = -1;
for (int i=0; i<64; i++) map2[map1[i]] = (byte)i;
};
it need me change it one by one?
gyurisc - 30 Jun 2005 21:46 GMT
Have you heard of the Java Language Conversion Tool? I think it installs
with Visual Studio.NET 2003.
Cris
> hi, all.
>
[quoted text clipped - 26 lines]
>
> it need me change it one by one?