I have a class with this structure:
public class BusinessObject
{
public int Column1 { get; set; }
public int Column2 { get; set; }
public string Column3 { get; set; }
public int Column4 { get; set; }
}
and I have a collection of objects of this type call BusinessObjectCollection. If I want an array of values that are distinct for only Column2... what must I do?
What if I dont know the property that I need... so if i have ColumnTitle as a String... and whatever the value of ColumnTitle... I want the distinct values for that property
List<BusinessObject>I assume?) and find only those having differentColumn2value?