please help me
I have a class A, B, and C
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
C#
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?

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 29, 2021, 5:01 AM EDT
Ravinder SharmaRank #1,211 · 1.5K reputationPosted Sep 1, 2021, 10:56 AM EDT
Priyanka K SRank #1,385 · 1.2K reputationPosted Sep 1, 2021, 1:27 PM EDT