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 escape sequence in c#?
What is Fragmentation and its Types?
List down the differences between “dispose” and “finalize” methods in c#.
how can one use hcl and c sharp together?
Define an assembly in .net?
What is difference between array and arraylist c#?
What are the Types of caching
What is polymorphism c# example?
Can class inherit from struct c#?
What is the difference between internal and protected in c#?
Is array a collection c#?
What are the benefits of using generics in c#?
How long will it take to learn c sharp?
What is namespace explain with example?
What is the data provider name to connect to access database?