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 an assembly in dotnet?
What is a jagged array?
How do you escape a character?
Can we inherit singleton class in c#?
What are the different types of literals in c#?
What is private void in c#?
Explain about Destructor method?
i want o/p 011242110 in c# code.
What is int64 in c#?
Can arraylist hold primitive types?
What is a private method in c#?
Explain about Oops concept
Why are local variables stored in stack?
What is difference between class and abstract class in c#?
What is property in c#?