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

Does c# provide copy constructor?

785


What is form feed in c#?

744


What are c# types?

750


Explain About disco and uddi

919


What is interface inheritance in c#?

719


List the difference between interface and abstract class?

659


What is encapsulation in csharp?

727


List down the access modifiers available in c#?

669


What is a dbml?

705


What is a clr (common language runtime)?

683


Is exe is machine dependent?

689


What is a decimal c#?

640


How to implement an object pool in c#.net.

808


What is wpf application in c#?

648


Why main is static in c#?

796