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
What are the Types of compatabilities and explain them
What is delegates and events?
What is concrete class in c#?
Why do we override in c#?
What is the difference between ref & out parameters in c#?
What is the components of window?
what is method overloading in c#?
How do I create a dbml file?
How do I create a delegate/multicastdelegate?
What is yield return in c#?
Are constructors inherited c#?
What is the difference between wrapper class and primitive?
What is the use of flag in c#?
What is desktop application testing?
Can you declare a class or a struct as constant?