Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / sukriya

Is it possible to implement an interface to a structure?
Ans: A struct can implement interfaces, and it does that
exactly as classes do.

Is it possible to extend a struct?
Ans: struct cannot extend another struct

Is it possible to inherit a class to struct?
Ans: A struct cannot inherit from another struct or class,

Is This Answer Correct ?    38 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I declare a pure virtual function in c#?

981


What is sqlcommandbuilder c#?

929


What is the boxing and unboxing in c#?

890


What is overriding in c#?

878


How do I join one form to another in c#?

922


What are partial types in c#?

896


Ho we can see assembly information?

954


How to get the sum of last 3 items in a list using lambda expressions?

927


Can a constructor be static in c#?

1005


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

2251


2. What happened when BO object has been called?

1962


How can you use abstract class and interface?

1128


Where static variables are stored?

940


What is a console operator?

902


What are the types of inheritance in c#?

954