別のクラスからすべての変数を取得する必要があるコンストラクターを作成しています。現時点で私は持っています:
public class Person
{
public Person(Address.AddressDetails newAddress , string newTitle, string newForname, string newSurname, string newTel,
string newMob, string newEmail)
{
}
static public int ID;
static public string Title;
static public string Decorations;
static public string Forename;
static public string Surname;
static public string Telephone;
static public string Mobile;
static public string Email;
static public Address.AddressDetails Address;
}
Address.AddressDetails の変数もすべて静的です。Person.Address が AddressDetails クラスのすべての変数を表すようにするにはどうすればよいですか?