From b785e9b65aaf510be9ab1e8e08fd1e65cc3044fe Mon Sep 17 00:00:00 2001 From: ValAnn Date: Fri, 13 Oct 2023 08:36:55 +0400 Subject: [PATCH] done fix setgeneric --- DumpTruck/DumpTruck/SetGeneric.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DumpTruck/DumpTruck/SetGeneric.cs b/DumpTruck/DumpTruck/SetGeneric.cs index 44a705f..974765c 100644 --- a/DumpTruck/DumpTruck/SetGeneric.cs +++ b/DumpTruck/DumpTruck/SetGeneric.cs @@ -50,7 +50,7 @@ namespace DumpTruck.Generics return null; if (_places[position] != null) { - int indexEnd = position; + int indexEnd = position + 1; while (_places[indexEnd] != null) { indexEnd++;