T
Tom
Hi,
I have a simple Product Domain Entity class with just fields/properties. I
have a IList<Product> that I need to search for a particular Product object
based on a field/property ProductID. The only solution I could come up with
is a method that loops through the IList<Product> (foreach) and looks at
each ProductID and returning the Product with the matching ProductID. Is
this the best solution?
Thanks
I have a simple Product Domain Entity class with just fields/properties. I
have a IList<Product> that I need to search for a particular Product object
based on a field/property ProductID. The only solution I could come up with
is a method that loops through the IList<Product> (foreach) and looks at
each ProductID and returning the Product with the matching ProductID. Is
this the best solution?
Thanks