By 03/02/2016 1 Comments

What is the difference between String and string?

  • Difference between the following string and String.


string s = "Hello world!";
String S = "Hello world!";

  • string is an alias in C# for System.String. So technically, there is no difference. It’s like int┬ánumber. System.Int32.


  string web = "";

  • If you need to refer specifically to the class you should use String.


string command = String.Format("Visit {0}!", web);

Posted in: C#.NET, Solutions

Leave your valuable Comment

Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .