int Appno= 0X0A0A0A0A; byte[] Apps_Num_bytes = ConvertInt32ToByteArray((int)Appsno);
string stringRepresentation = System.Text.Encoding.ASCII.GetString(Apps_Num_bytes);
int Appno = 0x0004EB9C; //int Appno = 0X0A0A0A0A; string final = ""; string s = BitConverter.ToString(BitConverter.GetBytes(Appno)); string[] arr = s.Split('-'); for (int i = 0; i < arr.Length; i++) { char[] charArray = arr[i].ToCharArray(); Array.Reverse(charArray); final = final + new string(charArray); } char[] charArray2 = final.ToCharArray(); Array.Reverse(charArray2); final= new string(charArray2); MessageBox.Show(final);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)