string temp = struct_App.value.ToString(); //struct value is a byte and equals 0 string.Format("{0:X02}", temp);
string temp = struct_App.value.ToString("X02"); //struct value is a byte and equals 0
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)