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 are the applications of c#?

1612


Explain the difference between class and interface in .net?

842


What is polymorphism c# example?

893


Can you inherit from a static class in c#?

904


What is routing in c#?

864


What is the use of flag in c#?

903


For methods inside the interface why can’t you specify the accessibility modifier?

925


How to override a function in c#?

960


What is difference between hashtable and dictionary in c#?

919


Why we use methods in c#?

914


Can abstract classes be final?

910


Why constructor is used in c#?

868


What debugging tools come with the .NET ssSDK?

1204


Why singleton pattern is used in c#?

921


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

1836