私はこのようなものを持っているとしましょう:
class Program
{
static void Main(string[] args)
{
A A1 = new A();
A1.B1.C1.GetPath();
}
}
class A
{
public B B1 { get; set; }
public B B2 { get; set; }
}
class B
{
public C C1 { get; set; }
}
class C
{
public string GetPath();
}
GetPath()
たとえば " " を返すメソッドを実装する可能性はありC1 in B1 in A1
ますか?