|
namespace CSharp_CustomXmlSerializer_Demo.Profile
{
public class Questions:System.Collections.CollectionBase
{
public void Add(Question value)
{
base.List.Add(value);
}
public Question this[int index]
{
get {return (Question) base.List[index];}
}
public Question this[string identifier]
{
get
{
foreach (Question _Item in this)
if (string.Compare(_Item.Identifier.ToString(), identifier, true) == 0)
return _Item;
return null;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Larry Steinle is a systems analyst for HDR, Inc, a nationally recognized architecture, engineering, and consulting firm. He graduated with a certificate in Biblical Studies, an Associate in Computer Programming, and a Bachelor Degree in Management Information Systems.