[Console] C# INT To Hex and Hex To INT
2013. 3. 11. 13:14ㆍC#/Console
반응형
string hex = 123.ToString("X");
// Convert the hex string back to the number
int.Parse(hex, System.Globalization.NumberStyles.HexNumber);
반응형
'C# > Console' 카테고리의 다른 글
[Console] PPPoE 자동 연결 (0) | 2013.12.04 |
---|---|
[Console] 문자열 다루기 문자열 유틸리티 (0) | 2013.09.05 |
[Console] 기상 방위표 (0) | 2012.11.27 |
[C#] 이동평균 (0) | 2011.11.22 |
[Console] 숫자만 입력받기 (0) | 2011.09.21 |