Console.WriteLine(该字符串.ToUpper());//大写 Console.WriteLine(该字符串.ToLower());//小写
string str = "abcd5454a"; str = str.ToUpper();