Is string a value type or a reference type?

Answer Posted / tarun kumar

String in .NET id 'Reference Type'.The reason is quite
simple.All classes in the .NET Environment are 'Reference
Type' & 'String' is a Class in .NET (not DataType as in VB
6.0)

Is This Answer Correct ?    40 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you change the session time-out value?

583


Is it possible to migrate visual interdev design-time controls to asp.net?

567


What is the difference between exe and dll?

559


what is DLL Hell and how it is solved in .NET? please explain clearly??

1891


What are cookies in your browser?

537






how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1645


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

680


How you can access the properties and controls of master pages from content pages?

515


What are the different types of proxy patterns?

598


What is the caspol.exe tool used for?

545


What are the advantages of using Master Pages?

604


How to display validation messages in one control?

551


What is the use of worker process in asp.net?

532


How ASP.NET page works?

678


What is the maximum timeout we can set for Cookies?

553