done lab3
This commit is contained in:
parent
a17c6a10b9
commit
21b5e3d07b
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user