4
Answers

Help me to resolve this senario in oops.

Senario
 
Public  Classs  C1
{
public void Method1()
{
Console.WriteLine("Method1") ;
 
Public Classs C2
{
public void Method2()
{
Console.WriteLine("Method1") ;
}
}
 
 
Public Classs C3:C1,C2
{
Static Void Main()
{
C3 obj=new C3(); 
 //here i want call Method1 and Method to 
obj. Method1();
obj. Method2(); 
 
 
}
 
 
How can i achive the above thing with out using interfaces.
 
 
 
 
 
 
 

Answers (4)