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 is difference between === and ==?

474


What is a c# delegate?

617


How do you create user defined data types in c#?

536


What is the root element of an xml file?

505


Why are strings immutable c#?

480






How to use delegates with events?

567


What is the difference between public, static, and void?

487


What are the problem with .NET generics?

568


What Is An Interface Class?

568


What is unmannaged code and will CLR handle this kind of code or not .

599


What is platform independence"?

546


What are indexers in c# .net?

536


What is a constructor in c#?

524


What are the basics of c#?

563


What is written in c#?

550