Revert "фикс в листе"

This reverts commit 7bc3ac944f.
This commit is contained in:
MorozovDanil 2024-04-15 14:52:19 +04:00
parent 7bc3ac944f
commit f5458c9f84

View File

@ -70,7 +70,7 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
public T Remove(int position)
{
if (position >= Count || position < 0) return null;
T obj = _collection[position];
T? obj = _collection[position];
_collection.RemoveAt(position);
return obj;
}