Hi there.. im new at c# and got some problems with my list an example
public List<Example> Test(int x)
{
var list = new List<Example>();
var data = (blabla linq to sql)
}
foreach(var item in data)
{
list.Add(new Example(...));
}
some of my data's are null and i need to remove null items from list. Any help ?