adspace


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

How do you inherit a class into other class in c#?

996


How to assign Null value to Var?

1066


What is expression tree in c#?

999


Which namespaces are necessary to create a localized application?

1143


Why can't we use a static class instead of singleton?

957


What is an abstract class c#?

970