// // [U+00A5]『¥』 "Yen Sign" // https://unicode-table.com/jp/00A5/ string a1 = "¥"; string a2 = "\u00a5"; // 00a5:\ == \:True Console.WriteLine("{0:x4}:{1} == {2}:{3}", (int)a1[0], a1, a2, a1 == a2); // // [U+005C]『\』 "Reverse Solidus" // https://www.fileformat.info/info/unicode/char/005c/index.htm string b0 = @"\"; string b1 = "\\"; string b2 = "\u005c"; // 005c:\ == \:True Console.WriteLine("{0:x4}:{1} == {2}:{3}", (int)b0[0], b0, b1, b0 == b1); Console.WriteLine("{0:x4}:{1} == {2}:{3}", (int)b1[0], b1, b2, b1 == b2); Console.WriteLine("{0:x4}:{1} == {2}:{3}", (int)b2[0], b2, b0, b2 == b0); // // [U+FFE5]『¥』 "Fullwidth Yen Sign" // https://www.fileformat.info/info/unicode/char/FFE5/index.htm string c1 = "¥"; string c2 = "\uffe5"; // ffe5:¥ == ¥:True Console.WriteLine("{0:x4}:{1} == {2}:{3}", (int)c1[0], c1, c2, c1 == c2);