在链接上,我会在程序中向您展示我的所有课程
我的customerframe课堂上有这样的属性:
public string firstName { get; set; }
public string lastName { get; set; }
public CustomerFiles.Phone phone { get; set; }
public CustomerFiles.Email email { get; set; }
public CustomerFiles.Address addressinfo { get; set; }
public string city { get; set; }
public CustomerFiles.Countries countryinfo { get; set; }
public string street { get; set; }
public string zipcode { get; set; }
Run Code Online (Sandbox Code Playgroud)
但我的问题是,当这样做时,我得到指向这4个属性的错误
public CustomerFiles.Phone phone { get; set; }
public CustomerFiles.Email email { get; …Run Code Online (Sandbox Code Playgroud) c# ×1