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

Is everything an object c#?

698


What .exe means?

694


How do you create partial methods?

738


What is data annotation in c#?

687


What is multicast delegate in c# ?

754


How do you escape a character?

683


Why do I get a "cs5001: does not have an entry point defined" error when compiling?

748


Describe the ways of cleaning up objects in c#.

693


How do you escape c#?

705


List down the fundamental oop concepts?

674


Explain the difference between a Private Assembly and a Shared Assembly

727


How do I open the console?

772


What is c# in asp net?

662


Is java better than c#?

685


How do switch statements work?

669