Is string reference type / value type?

Answer Posted / subbu

string is absolutely reference type but value type and reference types can be changed to reference type and value type by boxing and un boxing mechanism.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When a switch is said to be congested?

659


What are methods in C#?

637


Is string nullable c#?

587


What is yield in c#?

575


What is call back method?

593






What is CLR and its application.?

647


What is super class in c#?

540


What all details the assembly manifest will contain?

527


What is the difference between ienumerable and enumerator?

545


What is sealed class in c#?

595


What is the difference between Decorator and Adapter pattern?

610


what is an exception in .net?

602


Explain the difference between event and a delegate in c#?

608


What is the difference between read and readline in c#?

591


Suppose two interfaces have same method, so how will you implement these methods in derive class?

559