请教问题!(一直有问题提出,望大家赐教,毕业设计需要,开始学C#)
using System;
class CharUnicode
{
public static void Main(string[]args)
{
char ch1='X';
char ch2='\x0058';
char ch3=(char)88;
char ch4='\u0058';
char ch5='林';
Console.WriteLine("ch1='{0}',0x{1:x}",ch1,(uint)ch1);
Console.WriteLine("ch2='{0}',0x{1:x}",ch2,(uint)ch2);
Console.WriteLine("ch3='{0}',0x{1:x}",ch3,(uint)ch3);
Console.WriteLine("ch4='{0}',0x{1:x}",ch4,(uint)ch4);
Console.WriteLine("ch5='{0}',0x{1:x}",ch5,(uint)ch5);
}
}
0x{1:x} 这种格式是什么格式啊???
请大家赐教一下,我是由于毕业设计需要才开始C#的,还希望大家多多帮助我