This commit is contained in:
Alexander Filippov
2022-03-02 01:12:44 +01:00
parent 963d166bff
commit 029e02fd2f
8 changed files with 18 additions and 35 deletions

View File

@ -9,8 +9,8 @@ namespace Utils
return new T[] { item };
}
T[] result = new T[array.Length + 1];
for (int i = 0; i < array.Length; i++)
var result = new T[array.Length + 1];
for (var i = 0; i < array.Length; i++)
{
result[i] = array[i];
}