Is string reference type / value type?
Answer Posted / rachel p
The above code sample doesn't prove anything, except that
Malli's code is full of bugs! You've a line in there that
contains the following error:
Console.WriteLine("StrName1=" + StrName2);
for goodness sake! And that's by no means the only error in
logic/reasoning.
String *is* a Reference Type, however, for many of the good
reasons established by previous answers.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can a private virtual method can be overridden?
Define delegate in c#?
What framework is used for performance testing/load testing?
Which are access modifiers available in c#?
How are methods overloaded?
How do I declare a pure virtual function in c#?
What is the and operator in c#?
What is a custom attribute?
Name some string escape sequences in c#.
What is dynamic in c#?
What is xml serialization in c#?
What is strong name in c# and how can we use it?
Name which controls do not have events?
Why is it important to override gethashcode when equals method is overridden?
How to find methods of a assembly file (not using ILDASM)?