This commit is contained in:
Gustave Monce
2024-10-12 13:40:24 +02:00
parent 2d5b0fd3db
commit 00407d6f24
27 changed files with 99 additions and 90 deletions
@@ -61,7 +61,7 @@ namespace DiscUtils.Internal
/// <returns>The resultant array.</returns>
public static U[] Map<T, U>(IEnumerable<T> source, Func<T, U> func)
{
List<U> result = new();
List<U> result = [];
foreach (T sVal in source)
{