What is the difference between System.String and string?

Advertisement

  • string is used for fied-size strings in C#, while System.String is used for all the strings.
  • There is no such class as System.String.
  • There is none—string is an alias for System. String.
  • System.String is a VB.NET data type, while string is a C# type.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.