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
what are implementation inheritance and interface inheritance?
What are the 2 kinds of data type conversions in c#?
Explain the difference between user control and custom control. Also, explain their use.
How does bitwise work?
What is the difference between virtual method and abstract method?
What is an inheritance in c#?
Does c# support c type macros?
Differentiate between response.expires and response.expiresabsolute?
What is a value type in c#?
What is the .net datatype that allows the retrieval of data by a unique key?
Can you describe iuknown interface in short?
What is the role of the datareader class in ado.net connections?
What is asynchronous one-way calls?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
Give an example to show for hiding base class methods?