using System.Collections.Generic;
var inventory = new List<Product>() {
new Product() { Name = "Steak", Price = 10.00, Msrp = 14.00, Quantity = 4, Description = "USDA choice aged beef."},
new Product() { Name = "Potato", Price = 1.00, Msrp = 2.00, Quantity = 3, Description = "A potato."},
new Product() { Name = "Dish soap", Price = 3.00, Msrp = 12.00, Quantity = 0, Description = "Makes dishes sparkly clean!"},
new Product() { Name = "Cereal", Price = 14.00, Msrp = 12.00, Quantity = 12, Description = "Has ALL the grains."},
new Product() { Name = "Soda", Price = 8.00, Msrp = 8.00, Quantity = 27, Description = "With extra fizz!"},
var bestValue = GetBestValue(inventory);
Console.WriteLine(bestValue);
public string Name { get; init; } = string.Empty;
public string Description { get; init; } = string.Empty;
public double Price { get; init; }
public double Msrp { get; init; }
public int Quantity { get; init; }