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...

If there are 2 interface IParentInterface &
IChildInterface as follows.

interface IParentInterface
{
void InterfaceMethod();
}

interface IChildInterface : IParentInterface
{
void InterfaceMethod();
}

Both the interface contains method with same name
InterfaceMethod().

How InterfaceMethod() will be handled in IChildInterface as
its deriving IParentInterface

Answer Posted / anurag

use
void IChildInterface.InterfaceMethod(){}
don't use access modifier with explicit method.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are string objects mutable or immutable?

917


Write down the c# syntax to catch an exception

919


What is the difference between dll and lib?

964


How do I edit a dll file?

870


Is c# different than c++?

868


List down the access modifiers available in c#?

860


Does google use c#?

881


What are the examples of data types?

970


Explain the difference between a sub and a function in c#.

995


What is the difference between static and private constructor?

965


What is datatable in c#?

932


How are methods overloaded?

984


What are circular references?

931


What are the advantages of interface in c#?

936


What is expression tree with example?

885