Skip to content

Commit 25ec0cb

Browse files
Removed extra property Stock
1 parent 507716d commit 25ec0cb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Observer/VeggiePrices.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,5 @@ public void Update(Veggies veggie)
9494
Console.WriteLine(_name + " wants to buy some " + veggie.GetType().Name + "!");
9595
}
9696
}
97-
98-
public Veggies Stock
99-
{
100-
get { return _veggie; }
101-
set { _veggie = value; }
102-
}
10397
}
10498
}

0 commit comments

Comments
 (0)