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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SamPosted Feb 10, 2015, 2:00 AM
SamPosted Feb 10, 2015, 1:59 AM
Francis SusaimichaelPosted Feb 7, 2015, 2:52 AM
Suraj SahooPosted Feb 7, 2015, 2:50 AM
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
Murali PPosted Feb 7, 2015, 2:34 AM
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.