diff --git a/SailBoat/SailBoat/Generics/SetGeneric.cs b/SailBoat/SailBoat/Generics/SetGeneric.cs index a9b895e..db920fe 100644 --- a/SailBoat/SailBoat/Generics/SetGeneric.cs +++ b/SailBoat/SailBoat/Generics/SetGeneric.cs @@ -18,7 +18,7 @@ namespace SailBoat.Generics _places = new T[Count]; } - public int Insert(T car) + public int Insert(T boat) { int index = 0; while (_places[index] != null) { @@ -31,11 +31,11 @@ namespace SailBoat.Generics _places[index] = _places[index - 1]; index--; } - _places[0] = car; + _places[0] = boat; return 0; } - public bool Insert(T car, int position) + public bool Insert(T boat, int position) { if (position < 0 || position >= Count) {