Difference between string and String in c#?
What is the difference between string and String in c#?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Nov 18, 2014, 9:24 PM EST
Read this link is will help you.
http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string
Yadagiri ReddyRank #773 · 3K reputationPosted Nov 19, 2014, 12:43 AM EST
if you don't specify System namespace in the top then you will get only string.
if you specify System namespace in the top then you will get String and string.
MahaRank #2,573 · 543 reputationPosted Nov 20, 2014, 1:43 AM EST
String s;
In the above both are same. C# data type (string s;) ultimately it is map to System.String which is a common type system data type.
This is explained in audio form in the following website:
http://www.bestdotnettraining.com/User/Login.aspx
Training Services drop down menu there is Video Library title.
Video Library webpage there is courses section.
then goto
C# Programming Language & Windows Programming
then goto
C# Language Syntax
then goto
String and String Builder