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

What is mvc in c#?

647


What is desktop application testing?

694


In .Net, what is an assembly? Also explain the type of assembly.

707


How do you prevent a class from being inherited in c#?

624


what is IDisposal interface

916


How can you write a class to restrict that only one object of this class can be created (Singleton class)?

731


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

746


Which of these string definitions will prevent escaping on backslashes in c#?

774


What is the difference between method and function in c#?

661


hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

1581


what is collections in .net? why we use?

1892


Is string nullable in c#?

691


Is c sharp and c# are same?

713


Why use “using” in c#?

722


What is difference between throw and throws in c#?

632