using System; using System.Collections.Generic; var labels = new[] { new Label("MUG-01", "Ceramic mug"), new Label("BAG-03", "Canvas bag"), new Label("PAD-02", "Sketch pad"), }; var scans = new[] { "MUG-01", "bag-03", "PAD-02", "BAG-99", }; Console.WriteLine("Catalog lookup"); Console.WriteLine("Label codes are case-insensitive."); foreach (string scan in scans) { ReportScan(scan, labels); } static void ReportScan(string scan, IReadOnlyList