Is string reference type / value type?
Answer Posted / guest
Simple types (such as float, int, char), enum types and
struct types are all value types.
Note that many types (such as string) appear in some ways
to be value types, but in fact are reference types. These
are known as immutable types
Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
What is the difference between throw and throw ex?
Explain the difference between abstract class and interface in .net?
What is a cs file?
Explain 'structure padding'?
There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?
How do you type a null character?
What is a nullreferenceexception?
Explain the use of SN.exe
Is datetime value type c#?
What do you mean by object pooling?
What is getenumerator?
What is the difference between ref and out in c#?
What is a struct in C#?
What are the extension methods in c#?