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

What is public void in c#?

1003


What do you mean by default constructor?

1098


Why we use delegates in c#?

911


What is ado net in c#?

904


Is arraylist type safe in c#?

990


What is a partial class in c#?

1048


Why are strings immutable in c#?

900


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

985


What are most desktop applications written in?

972


What is inumerable?

1048


What is the use of main method in c#?

985


Why dictionary is used in c#?

961


What is the use of delegates in c#?

893


What is delegates and events?

927


how can one use hcl and c sharp together?

2098