コード例 #1
0
 public Offer GetLowestOffer()
 {
     try
     {
         //List<Offer> offers = GetOffers();
         //return offers.OrderBy(o => o.Price).First();
         return(Offers.OrderBy(o => o.Price).First());
     }
     catch
     {
         return(new Offer());
     }
 }