What is difference between "String" and "string" ?

 Posted by Akiii on 12/12/2011 | Category: .NET Framework Interview questions | Views: 3114 | Points: 40

"string" is an alias for System.String . So technically, there is no difference between them. It's like int vs. System.Int32

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: prabhakarpandeynetsutra-12829 on: 12/13/2011 | Points: 10
Very Simple

string is a type in c# while String is a type in .Net CLR.
Ultimately c# type is converted into .net type.

Login to post response