what are the differences b/w structure and class?
Answer Posted / abhay k pandey
Structs many have constructors but they should not be
parameterless. Structs performs alomost all the tasks of a
class but differs at some points - structs don't support
inheritance hence there is no protected keyword with
structs. Note : still struct inherit from System.Object
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between ref & out parameters in c#?
Define interface class in c#?
What is a delegate how is it type safe?
Where value types are stored in c#?
Why singleton pattern is used in c#?
What is a function c#?
What is polymorphism c# example?
What is the meaning of extention?
What is ienumerator c#?
What is difference between first and firstordefault?
What do you mean by the delegate in c#?
What is anonymous methods in c#?
What is inumerable?
Describe the types of comments in c#?
What do you mean by stack and heap in c#?