Is string reference type / value type?

Answer Posted / akn

Everything not derived from System.ValueType is a reference
type.
So System.String is reference type.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if a method is marked as protected internal who can access it?

807


What is razor view in c#?

669


What is serialization in c#?

696


What is the implicit name of the parameter that gets passed into the class set method?

703


What is a cshtml file?

751


Explain About sn.exe

724


What is dependency in software?

755


What is the use of table aliases?

697


Is array a list?

686


What are the advantages of properties in c#?

766


What is the difference between gettype and typeof in c#?

695


What is the keyword used to prevent a class from being inherited by another class?

938


What is overloading with example?

747


What are the properties of a string class?

729


Value Type and Reference Type Data type in C#?

753