Is it possible to implement an interface to a structure? Is
it possible to extend a struct? Is it possible to inherit a
class to struct?
Answer Posted / mangesh
Yes!! It is definately possible to implement interface to
structure.
struct structure_name: interface_name
{}
Structure cannot be extended.
Class cannot be inherited to structure
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is meant by enumerable in c#?
Is for loop faster than foreach?
What is serialization in dot net?
What are the commonly used i/o classes?
What is indexer c#?
What is a constructor in c#?
State two different types of access modifiers.
What is a reference type c#?
Explain the different ways a method can be overloaded?
How can I check the type of an object at runtime?
Define sealed classes in c#?
What is interface inheritance in c#?
What is an argument in c#?
What is window application in c#?
How can you achieve run time polymorphism in C#?