SHASHANGKA SHEKHAR'S BLOG

Author, TechWriter

What’s the difference between String and string?

The string type is an alias for the System.String class. It is derived from object type.

  1. String is just a class name.
  2. String is a reference type
  3. String is not a keyword and it can be used as Identifier.
  4. string is a keyword and cannot be used as Identifier.

Post a comment