difference between string and String in c#?
What is the difference between string and String in c#?
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.
Manish Kumar ChoudharyPosted Nov 19, 2014, 2:24 AM
Read this link is will help you.
http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string
MahaPosted Nov 20, 2014, 6:43 AM
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
Yadagiri ReddyPosted Nov 19, 2014, 5:43 AM
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.