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 a sealed class?
Does main have to be static c#?
Will the following code compile and run?
Is c++ or c# better?
What is the console on a mac?
What is the use of console readkey in c#?
Explain more on CLR
Why do we need properties in c#?
How does dll hell solve in .net?
How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!
What are the main reasons to use c# language?
What is enum in c#?
What is multicast delegate in c# ?
What is object type in c#?
What is wpf application in c#?