Is string reference type / value type ?
Answer Posted / ankur sehgal
string is reference type but it behaves as value
type.Because every time u assign a value to string a new
object is created.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is regex c#?
Give some examples for built in datatypes in c#?
Why to use lock statement in c#?
Is there throws keyword in c#?
What is the default value of guid in c#?
What is inheritance c#?
Explain about ODP.net
What Happens In Memory When You Box And Unbox A Value-type?
How can you use abstract class and interface?
What is use of private class in c#?
What is Implicit conversion in C#?
What is difference between .net and c#?
What's the difference between an integer and int?
What is variable and its classification?
Why do we use dictionary in c#?