Vidyanand Singh

Vidyanand Singh

  • 2k
  • 90
  • 974

.NET questions

Aug 29 2021 4:29 AM

please help me

I have a class A, B, and C

Public class A {}
Public class B 
{Method1  m=new method1();} 
public class C
{Method2  m=new method2();}

Side question 1: What happens in below scenario? Does it accepts

Public class D
    Public void method3  (object  A)

Side question 2:  I want to use the methods method1 and method2 through class A in Metho3?

Answers (3)