фикс в листе
This commit is contained in:
parent
2174798ffb
commit
7bc3ac944f
@ -70,7 +70,7 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
|
|||||||
public T Remove(int position)
|
public T Remove(int position)
|
||||||
{
|
{
|
||||||
if (position >= Count || position < 0) return null;
|
if (position >= Count || position < 0) return null;
|
||||||
T? obj = _collection[position];
|
T obj = _collection[position];
|
||||||
_collection.RemoveAt(position);
|
_collection.RemoveAt(position);
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user