What will be output of following program?

interface IInterface1
{
void Show();
}

interface IInterface2
{
void Show();
}

class A : IInterface1, IInterface2
{
public void Show()
{
throw new NotImplementedException();
}
}

 Posted by Rajeshatkiit on 12/16/2015 | Category: C# Interview questions | Views: 916 | Points: 40
Select from following answers:
  1. Error
  2. warning
  3. No Error. It will compile successfully.
  4. Not possible
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response