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
How many bytes is an int?
What is a collection in c#?
What are floating point numbers?
What language is c# similar to?
Is it true that all c# types derive from a common base class?
What does char mean in c#?
What is the difference between abstract class and interface in c#?
What is the difference between class and namespace?
Why do we need collections in c#?
How to use nullable types in .net?
Why are strings in c# immutable?
What is the property of a class in c#?
How to create multi-dimensional array?
My switch statement works differently! Why?
Can derived classes have greater accessibility than their base types?