5.1.4 Applying Extension Methods to an Interface (Bug fix)
This commit is contained in:
parent
3b938d8c61
commit
ec983ff21c
@ -10,7 +10,7 @@ namespace automatically_implemented_properties
|
|||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
// create and populate Shopping Cart, implementing IEnumerable<Product> interface
|
// create and populate Shopping Cart, implementing IEnumerable<Product> interface
|
||||||
ShoppingCart products = new ShoppingCart
|
IEnumerable<Product> products = new ShoppingCart
|
||||||
{
|
{
|
||||||
Products = new List<Product>
|
Products = new List<Product>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user