Is string reference type / value type?
Answer Posted / frank
Habitat, you're an idiot and just confusing things further. This thread is littered with links pointing out that string is a reference type. Here's are two more: http://msdn.microsoft.com/en-us/library/362314fe(VS.71).aspx.
http://msdn.microsoft.com/en-us/library/aa691153(VS.71).aspx
Do you know what a stack is? Do you know what interning is? Do you know you can write: string s = null;?
String is a reference type that often "behaves" like a value type.
To quote you directly: "If you dont know anything - dont confuse others!!!"
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are classes passed by reference in c#?
Explain the difference between Metadata and Manifest
What is sealed class in c#?
What is default class in c#?
what is the difference between .dll and .exe
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
Which class does the remote object has to inherit?
What is difference between mutable and immutable in c#?
How can you access a private method of a class?
What is as keyword in c#?
How can you set image source dynamically from c# application to ”test.png” file?
What is escape character in c#?
What is null propagation c#?
What is tryparse?
Define xslt.