Is string reference type / value type?

Answer Posted / shweta

100% String is Reference Type.

Value Type- All Numeric data types, Boolean, Char, Date,
Structs.

Reference Type- String, Arrays, Class, Delegates.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a abstract class have a constructor?

477


What is a Assembly?

550


What is the benefit of interface in c#?

485


What is difference between c sharp and c#?

480


What is the use of base keyword? Tell me a practical example for base keyword’s usage?

548






What is msil in c#?

569


What are extension methods and where can we use them?

466


What is the use of return in c#?

495


What is a web service in c#?

594


What is array and types of array in c#?

490


Explain what is the smallest unit of execution in .net?

488


What is the purpose of escape sequence?

589


Is cli same as the clr?

527


State two different types of access modifiers.

571


What are the fundamental oop concepts?

538