Is string reference type / value type?
Answer Posted / shweta
100% String is Reference Type.
Value Type- All Numeric data types, Boolean, Char, Date,
Structs.
Reference Type- String, Arrays, Class, Delegates.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between proc. Sent by val and by sub?
What are the access modifiers in c#?
What are the fundamental differences between value types and reference types?
Write a sample code to write the contents to text file in c#?
Contrast System.String and System.Text.StringBuilder classes?
How do I create multifile assembly?
Define a strong name in .net?
What is difference between dictionary and list in c#?
Why do we use ienumerable in c#?
What is a callback c#?
What do you mean by saying a "struct is a value type"?
Difference between directcast and ctype.
To create a localized application which namespaces are necessary?
What is form feed in c#?
Is it possible to have different access modifiers on the get/set methods of a property?