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

Can a class be private in c#?

689


What is the use of main method in c#?

695


What is an assembly loader?

685


What is the difference between static and private constructor in c#?

677


What is the main usage of keyword “virtual” ? How does it work for a method or property?

693


What is serialization in unity?

658


Write a short note on interface?

749


Define parsing?

667


What debugging tools come with the .NET ssSDK?

943


How do I stop my console from closing in c#?

642


What is application c#?

657


What is difference between override and new in c#?

699


Are cao stateful in nature?

641


What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default

732


Why do we need oops in c#?

677