Is string reference type / value type ?
Answer Posted / avisek
string is referrence type....
bcz there is no limitations of string means it can have variable length......thats why str[0],str[1],
string stores only the referrence to the value stored in it....
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What is the difference between overriding and overloading in systemverilog?
What is field in c#?
What is the use of expression tree in c#?
What is lazy t?
What is property in c#?
What is difference between list and ilist in c#?
Can a class have static constructor?
How do I format a string in c#?
Can we inherit two classes in c#?
Explain states of a thread in c#?
What is the difference between read and readline in c#?
Is php easier than c#?
How to sign an assembly with strong name?
What is desktop example?