vars and target-typed new

This commit is contained in:
Kwoth
2021-12-20 00:15:39 +01:00
parent ee33313519
commit cd379fd308
75 changed files with 198 additions and 198 deletions

View File

@@ -151,7 +151,7 @@ public class GoogleApiService : IGoogleApiService, INService
string nextPageToken = null;
List<string> toReturn = new List<string>(count);
var toReturn = new List<string>(count);
do
{
@@ -178,7 +178,7 @@ public class GoogleApiService : IGoogleApiService, INService
await Task.Yield();
var videoIdsList = videoIds as List<string> ?? videoIds.ToList();
Dictionary<string, TimeSpan> toReturn = new Dictionary<string, TimeSpan>();
var toReturn = new Dictionary<string, TimeSpan>();
if (!videoIdsList.Any())
return toReturn;