Image result for string vs String www.javatpoint.comIn C#, string
is an alias for the String
class in .NET framework. In fact, every C# type has an equivalent in .NET.
Another little difference is that if you use the String
class, you need to import the System
namespace, whereas you don't have to import namespace when using the string
keyword
↧
Answer by Ali Sufyan for What is the difference between String and string in C#?
↧