Hello,
anyone tell me how to convert character value into byte code in c# coding?
This will convert the char to its 8 bit signed integer.
char a = 'a'; // b will be 97 int b = Convert.ToSByte(a); //Now b will be 65 int b = Convert.ToSByte('A');
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.