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 the difference between dynamic type variables and object type variables in c#?

864


What is the base class for array types?

1026


Can we have multiple constructors in a class c#?

902


What is dll in c#?

1019


Is c and c# the same?

898


What is private readonly in c#?

929


What does mean before a string in c#?

990


What are extender provider components? Explain how to use an extender provider in the project.

891


Can constructor be overloaded in c#?

860


What is a Managed Code??

1004


What is the difference between writeline and write in c#?

834


What is mean by c#?

923


What is gac? How to put assembly in gac?

973


What is private void in c#?

900


What is a long in c#?

1010