string result = "";
foreach ( Match m in (new Regex(@"[0-9A-F]{2,2}",
RegexOptions.IgnoreCase)).Matches(hex))
result += ((char)Convert.ToInt32(m.Value, 16)).ToString();
return result;
foreach ( Match m in (new Regex(@"[0-9A-F]{2,2}",
RegexOptions.IgnoreCase)).Matches(hex))
result += ((char)Convert.ToInt32(m.Value, 16)).ToString();
return result;
댓글