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 / mukesh kumar

it is not possible to implement interface to structure as
interface does not support inheritance and structure ia
also value type.

Is This Answer Correct ?    3 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do while loops yes or no c#?

523


What's the difference between system.string and system.text.stringbuilder classes?

523


What are the advantages of constructor?

450


What is native image generator (ngen.exe)?

637


How do you declare an arraylist?

490






How do you encapsulate in c#?

480


What is the difference between interface and functional interface?

483


What are strongly typed objects?

477


What is the interface in c#?

510


What is satellite assembly? And steps to create satellite assembly?

512


What is entity framework in c#?

473


Write the difference between TypeOf and GetType?

586


How to put assembly in gac?

541


Why to use “finally” block in c#?

526


How Global.asax is used ?

611