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
Why do I get a "cs5001: does not have an entry point defined" error when compiling?
In gridview in editmode if we want to display information in one combobox based on
Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?
What is autopostback in c#?
What are c# i/o classes? What are the commonly used i/o classes?
What is the difference between finalize() and dispose()?
What are the extension methods in c#?
What do you mean by directing?
What is the base class of all classes in c#?
What is the use of functional interface?
How would you describe encapsulation in c#?
Can we inherit singleton class in c#?
What is args c#?
What is addressof operator?
How do I create a dbml file?