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


Please Help Members By Posting Answers For Below Questions

What are assemblies?

727


Why do we use Design Pattern in C#?

797


Which is faster list or dictionary in c#?

743


What is xslt in c#?

648


What is the resgen.exe tool used for?

735


Why singleton class is sealed?

702


What is difference between new and override in c#?

633


Why do we use parameters in c#?

698


What is data hiding in c#?

679


What is the default modifier for class in c#?

707


Where do we use serialization in c#?

677


List some of the common data providers for ado.net framework?

639


Why do we need singleton pattern in c#?

705


What is a static field?

691


What is the use of regex in c#?

692