What is the difference between String vs string ?
what is the difference between String vs string ? if there is no difference then when we should use String & string ?
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
Francis SusaimichaelRank #466 · 5.4K reputationPosted Feb 6, 2015, 9:52 PM EST
Murali P4 reputationPosted Feb 6, 2015, 9:34 PM EST
There is no difference between string and String. for more clarification please refer below link...
http://www.c-sharpcorner.com/Forums/Thread/154803/difference-between-string-string-in-C-Sharp-net.aspx
I hope, you will understand the differences between them.
Thank you.
Suraj SahooRank #382 · 6.6K reputationPosted Feb 6, 2015, 9:50 PM EST
https://msdn.microsoft.com/en-us/library/system.string%28v=vs.110%29.aspx
Where as string is an alias of System.String
When refering to an object or variable use string
else refering a class use String
For more info follow:
http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string
Sam27 reputationPosted Feb 9, 2015, 8:59 PM EST
Sam27 reputationPosted Feb 9, 2015, 9:00 PM EST