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

Can you use all access modifiers for all types?

1009


How to declares a two-dimensional array in C#?

1080


how to sort an array in c#

1058


Is c# used for any core features of windows vista?

1023


What is marshalling and what are different kinds of marshalling?

970


What is difference between overloading and short circuiting?

1041


Does c# support #define for defining global constants?

1078


What exactly happens when we debug and build the program?

2472


What is an extension method in c#?

1033


What is unsigned int?

948


Why is lazy loading?

911


What is difference between throw and throws in c#?

926


What is the use of regex in c#?

967


Explain the difference between pass by value and pass by reference.

992


What does using do in c#?

950