static void Main(string[] args) { UserCompanyInfo james = new UserCompanyInfo("Cozy Shoes", "24,Dolphin Estate", "08146458222"); UserIdentity john = new UserIdentity("Mane", "Olamide", "Onakoya", "*****@*****.**", "08146458222", james); Console.WriteLine(john.CompanyInfo); Console.ReadLine(); }
public UserIdentity() { CompanyInfo = new UserCompanyInfo(); }