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

Define thread? Explain about multithreading?

566


What is the purpose of dictionary in c#?

453


What is the difference between C# 3.5 and C# 4.0?

534


If the original method is not static you can declare an override method to be static or not?

497


What is virtual in c#?

478






How to implement an object pool in c#.net.

545


Is cli same as the clr?

513


What is xml c#?

481


What is the difference between const and static read-only?

496


What is object pool in .net?

526


What is uint64_t?

519


Can abstract class be sealed?

477


Can multiple inheritance implemented in c# ?

531


What is the use of flag in c#?

484


What does public mean in c#?

511