diff --git a/Lab1ContainersShip/Lab1ContainersShip/SetGeneric.cs b/Lab1ContainersShip/Lab1ContainersShip/SetGeneric.cs index be425b6..e4362d0 100644 --- a/Lab1ContainersShip/Lab1ContainersShip/SetGeneric.cs +++ b/Lab1ContainersShip/Lab1ContainersShip/SetGeneric.cs @@ -109,7 +109,6 @@ namespace Lab1ContainersShip /// public T Get(int position) { - // TODO проверка позиции if(position < _places.Count && position >= 0) { return _places[position]; @@ -131,12 +130,19 @@ namespace Lab1ContainersShip { return null; } - // TODO проверка позиции } set { + { + _places[position] = value; + } + + else + { + return; + }*/ Insert(value, position); }