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 concrete class in c#?
What is void in c#?
What is the predicate of a sentence?
How can you read 3rd line from a text file?
How do I do implement a assert?
Does c# have a 'throws' clause?
Can you prevent a class from being instantiated?
What is the main method?
What is difference between code access and role based security?
How are Windows programs different from normal C-programs?
What is an assembly in .net?
Can we create multiple constructors?
What is difference between struct and class in c#?
Explain About remoting and web services. Difference between them
Explain different properties of object oriented systems.