added missing logic

This commit is contained in:
strwbrry1 2024-04-03 14:04:19 +04:00
parent f50833a276
commit 7220e5c229

View File

@ -37,9 +37,13 @@ namespace Catamaran.CollectionGenericObjects
}
public T? Get(int position)
{
if (position >= 0 && position < Count)
{
return _collection[position];
}
return null;
}
public int Insert(T obj)
{