누군가가 수하십시오를 설명하는 방법을 만들의 인스턴스 Person
클래스,나는 힘든 시간을 하고 있습니다. 그들은 별도의 보관,나는 그냥 그들을 모두 함께 그것을 만들은 더 쉽게입니다.
public class Person
{
protected int id;
public string Name { get; set; }
public long Cpf { get; set; }
public Telephone[] Phones { get; set; }
}
public class Telephone
{
protected int id;
public int Number { get; set; }
public int Ddd { get; set; }
}
public static void Main(string[] args)
{
Person p = new Person();
p.Phones[0] = ??;
}