mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-08-10 10:01:14 +10:00
Cleanup
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user