If a class is having 4 variables namely type double,type
integer,type string,type decimal.
If we create an instance of that class those variables which
gets into this instance are value types or reference types?
Answer Posted / thirdware
Its value type..........
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between struct and class c#?
What is .dbml file?
Is system a class in c#?
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
What is static class in C#?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
What is the difference between disposing of () and finalize() methods in c#?
What is type cast in C#?
What are circular references? How garbage collection deals with circular references.
List the differences between method overriding and method overloading?
What is the difference between == and object.equals?
When would you use generics in your code c#?
Explain the constructor in c#.
How do you pass reference parameters in c#?
Can we store different data types in arraylist in c#?