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 mvc pattern in c#?
Why do we overload constructors?
How do you create partial methods?
What is string concatenation?
What is an expression in c#?
Can you declare struct members as protected?
Can main method be final?
What are the differences between system.string and system.text.stringbuilder classes?
Why delegates are required?
What are the advantages of clr procedure over t-sql procedure?
What are the different types of assemblies available and their purpose?
Define constructor in c#.
What is var c#?
Why do we need constructor in c#?
What is difference between c and c sharp?