Home > DeveloperSection > Interviews > What is the difference between string keyword and System.String class?

Posted on    November-13-2013 11:08 PM

 C# C# 
 1 Answer(s)
  1215  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    November-13-2013 1:00 AM

String keyword is an alias for System.String class. Therefore, System.String and string keyword are the same, and you can use whichever naming convention you prefer. The String class provides many methods for safely creating, manipulating, and comparing strings.

Don't want to miss updates? Please click the below button!

Follow MindStick