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


Please Help Members By Posting Answers For Below Questions

Why do we need singleton class in c#?

536


What is datatable and dataset in c#?

487


What is master page in asp net c#?

476


What is the relationship between a process, application domain, and application?

502


Explain the difference between Metadata and Manifest

551






Explain get and set accessor properties?

494


Can we write class inside a class in c#?

545


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

526


If you want to write your own dot net language, what steps you will u take care?

560


What is the difference between func and action delegate?

491


What are verbatim strings in c#?

497


What is the difference between mobile application and desktop application?

453


Explain the process of inheriting a class into another class?

491


What is lambda expression in c#?

509


What is the use of command builder?

541