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 c# slower than java?

481


What are constants in c#?

566


What is mean by c#?

485


Is c# difficult to learn?

487


Explain Direct CAST vs CType ?

556






Can hashset contain duplicates c#?

468


What is difference between c sharp and c#?

470


What is lazy in c#?

514


What is different about switch statements in c#?

492


How many types of constructors are there?

510


Can you inherit from a static class in c#?

481


What is the resgen.exe tool used for?

529


My switch statement works differently! Why?

515


Which controls do not have events?

560


Which sorting algorithm is best?

561