diff --git a/chap5_essential_language_features/essential_csharp_features/Program.cs b/chap5_essential_language_features/essential_csharp_features/Program.cs index f9da1e5..f1126fd 100644 --- a/chap5_essential_language_features/essential_csharp_features/Program.cs +++ b/chap5_essential_language_features/essential_csharp_features/Program.cs @@ -10,7 +10,7 @@ namespace automatically_implemented_properties static void Main(string[] args) { // create and populate Shopping Cart, implementing IEnumerable interface - ShoppingCart products = new ShoppingCart + IEnumerable products = new ShoppingCart { Products = new List {