Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How will you get the different language strings?

990


What is unrecognized escape sequence in c#?

981


Illustrate the differences between the system.array.copyto() and system.array.clone()?

1033


What does get set mean in c#?

973


What language is arduino?

1041


what are implementation inheritance and interface inheritance?

983


What is a class level variable in c#?

1032


What is dynamic in c#?

959


What's difference between constants and static readonly?

1261


What is boxing and unboxing in c#?

895


What is a constructor in c#?

1542


What is difference between internal and protected internal in c#?

993


What are the benefits of using windows services:

1105


What are delegates and why are they required?

1047


What are extensions methods in c#?

926