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 / sushil badyal

yes, We can implement interface in structure.
We can't extend structure also we can't inherit a class to
struct.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a constructor do c#?

502


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

1778


What is the purpose of the integer parse method the decimal parse method?

527


What is the difference between and xml documentation tag?

523


What is difference between for and foreach in c#?

473






What is different about switch statements in c#?

494


Define c# i/o classes? List the commonly used classes?

549


What is the relation between classes and objects?

532


Explain attributes in c#?

487


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1879


What is the difference between protected and internal in c#?

470


What does using system mean in c#?

498


What is difference between new and override in c#?

456


What are c# collections?

479


Can interface have virtual methods in c#?

475