I am new in MVC, so I have problem to understand what is purpose of HashSet in model. I am using ADO.net Entity Data model, system auto generate model like ..
public partial class Country
{
public Country()
{
this.States = new HashSet<State>();
}
public int ID { get; set; }
public string Name { get; set; }
public virtual ICollection<State> States { get; set; }
}
any one can explain in simple language why I should use a HashSet here?