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
Difference between debug.write and trace.write?
What is an escape sequence? Name some string escape sequences in c#.
who is a protected class-level variable available to?
Can a static class have a constructor c#?
What is dataset c#?
What is the use of console readkey in c#?
What is public, private, protected, internal and internal protected?
What is inheritance in csharp?
Can a loop recorder detect a heart attack?
How to update the gui from another thread in c#?
What is datacontract in c#?
What is private void in c#?
Which of the following API is used to hide a window?
Which is executed if an exception has not occurred?
What does == mean in c sharp?