Naresh Babu Gopavaram

Naresh Babu Gopavaram

  • NA
  • 246
  • 244.6k

Help me to resolve this senario in oops.

Aug 14 2014 5:52 AM
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)