What is the difference between String s(Small s) and String
S(Capital S)?
Answer Posted / sudhir sheoran
There is no difference between string and String.
string is just an alias of System.String. They both
are complied to the same code. In IL there is no difference
between the two. But as a standard followed by MSDN string
is used as datatype declaration e.g string s = "abc"
and if we are accessing some class then String should be
used. e.g String.Format("abc");
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain the security with aop?
What is an assembly qualified name
What is binding in c#?
What are extender provider components? Explain how to use an extender provider in the project.
What are the Features in .net framework 1.1
What is inline function in c#?
What is xamarin used for?
how to implement a web service in .net
Differentiate between object pooling and connection pooling in c#?
what is c# command?
What is int32 maxvalue?
How do you create empty strings in c#?
Can you see a loop recorder?
What are the fundamental differences between value types and reference types?
What is difference between iqueryable and ienumerable in c#?