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

Are classes passed by reference in c#?

483


what is a structure in c#

545


What are managed providers?

548


What is semaphore in c#?

515


Why we use extension methods in c#?

470






What is the file extension for c#?

522


What is use of private class in c#?

511


What is a partial method?

498


Define assert() method? How does it work?

629


What is thread in c#?

549


Is there regular expression (regex) support available to c# developers?

527


What's difference between constants and static readonly?

537


What is the interface in c#?

514


What is the difference between and xml documentation tag?

523


List some Advantages of switch-case over if else?

497