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


Please Help Members By Posting Answers For Below Questions

What are c# types?

530


What are the methods in c#?

532


What is method and function in c#?

500


What is unsigned int?

532


Explain About Postback

561






What Is A Satellite Assembly?

546


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

1459


Why is it important to override gethashcode when equals method is overridden?

563


What is difference between array and arraylist in c#?

452


Why are dynamic link library used over static one?

550


How does yield return work c#?

513


How is a strongly-named assembly different from one that isn’t strongly-named?

611


How do I trim a space in c#?

446


What is a di class?

536


Illustrate race condition?

488