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 c# entity framework?
What is the real use of interface in c#?
Can we write class inside a class in c#?
Why do we use ienumerable in c#?
How do I create multifile assembly?
What is the difference between abstract and abstraction?
What does firstordefault mean in c#?
What's new in c#?
what is a enumeration in c#
Why ienumerable is used in c#?
What are generic types?
Why attributes are used in c#?
Is it true that all c# types derive from a common base class?
What can we do to handle multiple exceptions?
What is a delegate? Explain.