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 / bablu
A struct type can implement an interface ya we can do that but the thing is we have to understand that struct is a value type and interface is a reference type data type so it is boxed.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why do we need singleton class in c#?
What is datatable and dataset in c#?
What is master page in asp net c#?
What is the relationship between a process, application domain, and application?
Explain the difference between Metadata and Manifest
Explain get and set accessor properties?
Can we write class inside a class in c#?
What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to
If you want to write your own dot net language, what steps you will u take care?
What is the difference between func and action delegate?
What are verbatim strings in c#?
What is the difference between mobile application and desktop application?
Explain the process of inheriting a class into another class?
What is lambda expression in c#?
What is the use of command builder?