Serkan Sonmez's Diary
ASP.NET, C#, Delphi, MS-SQL, T/SQL , Tiger, Logo Object Designer, Web Service
I want to get ASCII value of string in C#, what can I do?
Sample Code:
string
value = "9quali52ty3";
// Convert the string into a byte[].
byte
[] asciiBytes =
Encoding
.ASCII.
GetBytes
(value);
Result:
57 113 117 97 108 105 53 50 116 121 51
Hiç yorum yok:
Yorum Gönder
‹
›
Ana Sayfa
Web sürümünü görüntüle
Hiç yorum yok:
Yorum Gönder