точно готовая 8 лаба
This commit is contained in:
parent
c37d2ef26e
commit
801b062ccb
@ -56,8 +56,7 @@ namespace Sailboat.Generics
|
||||
throw new StorageOverflowException(_maxCount);
|
||||
if (equal != null && _places.Contains(boat, equal))
|
||||
{
|
||||
//throw new StorageOverflowException("Данный объект уже есть в коллекции");
|
||||
//MessageBox.Show("Данный объект уже есть в коллекции");
|
||||
|
||||
return -1;
|
||||
}
|
||||
_places.Insert(position, boat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user