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 / niraj sankar

yes!! a class or structure can implement from an interface
in C#.

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static class and abstract class in c#?

469


Can a struct inherit from another struct or class in c#?

529


What are c# i/o classes? What are the commonly used i/o classes?

519


Is string immutable in c#?

582


if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

533






What is difference between class and interface in c#?

457


What is get set in c#?

569


What does int parse do in c#?

477


What is the difference between dll and lib?

484


What is the difference between mobile application and desktop application?

458


How many constructors can a class have in c#?

485


What are anonymous types in c#?

482


What is the difference between finally and finalize block?

516


What are expressions c#?

487


What is sqlconnection in c#?

506