diff --git a/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs b/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs index d82c085..42e883b 100644 --- a/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs @@ -93,7 +93,7 @@ public class MassiveGenericObjects : ICollectionGenericObjects { return null ; } - T? obj = _collection[position]; + T obj = _collection[position]; _collection[position] = null; return obj; }