A
Aeden Jameson
Suppose I have the class foo
class Foo
{
PropertyOne;
PropertyTwo;
}
and I have a cost calculator class that uses lots of different
information to
calculate a cost.
class CostCalculator
{
public decimal Calculate(Foo foo);
}
I'm struggling with how one would write a linq expression to select
all objects that have the lowest cost. There's no guarantee of
uniqueness. Thanks for your help.
Cheers,
Aeden
class Foo
{
PropertyOne;
PropertyTwo;
}
and I have a cost calculator class that uses lots of different
information to
calculate a cost.
class CostCalculator
{
public decimal Calculate(Foo foo);
}
I'm struggling with how one would write a linq expression to select
all objects that have the lowest cost. There's no guarantee of
uniqueness. Thanks for your help.
Cheers,
Aeden