PIbd23_Ivanova_S.V._Lab3 #5

Closed
sofiaivv wants to merge 2 commits from lab3 into lab2
Showing only changes of commit 21b5e3d07b - Show all commits

View File

@ -79,7 +79,7 @@ namespace MotorBoat.Generics
/// <param name="collect"></param>
/// <param name="pos"></param>
/// <returns></returns>
public static T? operator -(BoatsGenericCollection<T, U> collect, int
public static bool operator -(BoatsGenericCollection<T, U> collect, int
pos)
{
T? obj = collect._collection.Get(pos);
@ -87,7 +87,7 @@ namespace MotorBoat.Generics
{
collect._collection.Remove(pos);
}
return obj;
return false;
}
/// <summary>