[.NET] C#程式碼轉成VB時的問題
請輸入專案類型:程式專案
C#的程式碼
private static string encodeNumber(int num)
{
StringBuilder encodeString = new StringBuilder();
while (num >= 0x20)
{
//while another chunk follows
encodeString.Append((char)((0x20 | (num & 0x1f)) + 63));
//OR value with 0x20, convert to decimal and add 63
num >>= 5; //shift to next chunk
}
encodeString.Append((char)(num + 63));
return encodeString.ToString();
}
麻煩高手幫忙轉成VB的程式碼
拜託了˙.˙
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.78.200
推
03/08 23:27, , 1F
03/08 23:27, 1F
→
03/08 23:27, , 2F
03/08 23:27, 2F
→
03/09 00:10, , 3F
03/09 00:10, 3F
推
03/09 00:33, , 4F
03/09 00:33, 4F