我有一个类,它代表了一个人,有一些信息结构化信息
public class Agente
{
public string title { get; set; }
public string address { get; set; }
public string name { get; set; }
public string email { get; set; }
public string phone { get; set; }
public string fax { get; set; }
public string website { get; set; }
public string id { get; set; }
public string continent { get; set; }
public string country { get; set; }
public Agente()
{
}
}
我需要这个类acording其国集团的对象,所以我将不得不从西班牙PPL的列表,另一个列表来自意大利的ppl。 有那些我需要在Windows手机应用程序显示这些名单后:
国家
人1
人2
国家
人3
人4
会是什么做到这一点的最佳方式?
它抱怨说,它不包含含义/值/添加 当我做国家。 intellsense只显示几个方法像ToString,我错过了一个使用? – Ric
我只是写了算法而不是代码..你需要自己消除错误。这些只是语法错误或可能是拼写错误。我做了一些编辑。 – Zeeshan