Structure
-
Structures can be used as a base for other structures.
-
A structure can implement one or more interfaces.
-
Structure members can be methods, fields, indexers, properties, operator methods, and events.
-
Structures can also define constructors, but not destructors. And you cannot define a default (parameterless) constructor for a structure.
Reveal answer
Fill a bubble to check yourself
B,C,D
Correct answer
Explanation
In C#, structs cannot inherit from other structures or classes, but they can implement interfaces, define constructors (though parameterless constructors have specific restrictions depending on the C# version), and contain members like methods, properties, and events. Since this is an MC-2 (multiple response) question, all three selected options are correct statements.