[爆卦]c#程式碼是什麼?優點缺點精華區懶人包

為什麼這篇c#程式碼鄉民發文收入到精華區:因為在c#程式碼這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者sHiNJi301 (Makoto)看板Visual_Basic標題[.NET] C#程式碼轉成...

c#程式碼 在 黃梵真 Instagram 的最佳貼文

2021-09-17 19:34:41

✨ Design Work ✨ Type : KV, Illustration, Graphic Design l 書封主視覺設計.書封設計提案.標準字設計提案 l 《Windows APT Warfare:惡意程式前線戰術指南》 -馬聖豪。著 這次很高興可以跟 馬聖豪 a.k.a. 資安大...


請輸入專案類型:程式專案

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
Peruheru:總覺得好像沒什麼要變的...或許是我的問題 03/08 23:27
Peruheru:只想到string要往後移而已 03/08 23:27
sHiNJi301:我跑他會出現"字串長度必須剛好一個字元。"的錯誤 03/09 00:10
mywheat:http://0rz.com/RDt4 C# <-> VB.NET 互轉 03/09 00:33

你可能也想看看

搜尋相關網站