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
How many parameters can a method have c#?
How can you force derived classes to provide new method implementations for virtual methods?
Can an interface extend a class c#?
What is the adv of using System.Text.StringBuilder over System.String?
What is garbage collector and where should you use in .NET?
Is vs as c#?
Define assert() method? How does it work?
What is returned if you pass the value 12.34 to the parsefloat () function?
How do you read an Excel sheet in C#?
What are the 3 logical operators?
Will the following code compile and run?
What is private class in c#?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is sqldataadapter in c#?
Are arraylist faster or arrays?