C# string 与 String的区别
2021-06-16 05:03
标签:get tty other play opened one open 技术 ring The string type represents a string of Unicode characters. string is an alias for System.String in the .NET Framework. string is a reference type,object is a reference type too, and the others are value types. string是C#的保留字,而String是CLR(Common Language Runtime)的类型. C# string 与 String的区别 标签:get tty other play opened one open 技术 ring 原文地址:https://www.cnblogs.com/GoldenEllipsis/p/10354883.htmlint x = 5;
Console.Write(x.GetType());//System.Int32
Console.ReadLine();