PIBD-12_Morozov_D.V. LabWork№4 #13

Closed
MorozovDanil wants to merge 15 commits from Lab4_base into Lab3_base
Showing only changes of commit f5458c9f84 - Show all commits

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;
}