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

what is the difference between response.write() and response.output.write()?

690


How many ways are there to maintain a state in .net? What is view state?

585


What is sql data source control in asp.net?

563


What are early binding and late binding.

560


What does the hotspot class in .net do?

561






Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?

550


What is the purpose of App_Code folder in ASP.NET? Why we this?

603


What is asp.net globalization?

491


Explain the updatepanel?

578


What are standard controls?

506


Explain the main differences between asp and asp.net?

513


What are resource file and how do we generate resource file?

560


Is there any limit for query string? Means what is the maximum size?

482


Explain what is an assembly?

552


What do you mean by marshalbyref?

635