使用sizeof定义字符型,短整型等,并给这些变量赋值,输出存储宽度
char c = 'a'; short s = 1; Console.WriteLine(sizeof(c)); Console.WriteLine(sizeof(s));