我在此代码中收到 StackOverflow 错误:
编辑
[XmlAttribute("ID")]
public string ID { get; set; }
编辑2
public ParameterEntity this[string szID]
{
get
{
//Finds the parameter entity with the ID passed in.
return rParameters.Find(
delegate(ParameterEntity oParameterEntity)
{
return oParameterEntity.ID.Equals(szID, StringComparison.OrdinalIgnoreCase);
});
}
}
各位大侠能指教一下吗?
我可能只需要使用一个简单的手动循环。
谢谢-奥利弗