I need help. I've some types defined:
Class1(){int ID; double Price;}
Class2(){int ID; Class1 myClass1;}
Class3(){int ID; List<Class2> Class2List;}
Now I have a list List<Class3> class3List
, from which I need to take only the min double
value (the min Price
). Is this possible to do with LINQ to SQL, or do I need to use foreach
loop?