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 is function and method in c#?
What is nullable types in c#?
What is routing in c#?
What is the difference between parse and tryparse in c#?
Why do we use anonymous method in c#?
What is datagrid c#?
What is the use of console application in c#?
What are the two kinds of properties in c#.
Why do we use delegates in c#?
What is the relationship between a process, application domain, and application?
Give an example of a directcast.
Can datetime be null c#?
How do I declare inout arguments in c#?
What does || mean in programming?
What can we do to handle multiple exceptions?