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 parameters can you pass in the url of the api?

839


What is custom attribute? How to create?

739


How does session work?

681


What is the difference between c# and .net?

748


Define the term Scavenging in Caching?

761






Explain the difference between array and linkedlist?

682


What is the difference between page directive include and action tag include?

697


What is an asp.net web form?

795


If you are using two select queries and retrieving data. how do you access second query's result set using data reader?

5128


Define web services in asp.net.

730


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

1689


What is a SESSION and APPLICATION object?

755


What does a switch do?

727


What is the sequence in which ASP.NET events are processed?

671


What is http post action?

740