Use new syntax for cleaner looking code
This commit is contained in:
parent
ea69e350aa
commit
ce08055d7e
|
|
@ -108,7 +108,7 @@ class Program
|
|||
|
||||
static List<string> GetAllFilesMatching(string pattern, string directory)
|
||||
{
|
||||
List<string> res = new List<string>();
|
||||
List<string> res = new();
|
||||
List<string> files = GetAllFiles(directory);
|
||||
|
||||
Regex expression = new Regex(pattern,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user