From ce08055d7e38b4df899e6d183418b5e09c750d82 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Mon, 20 Jun 2022 02:54:45 +0100 Subject: [PATCH] Use new syntax for cleaner looking code --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 08b9a6c..777b729 100644 --- a/Program.cs +++ b/Program.cs @@ -108,7 +108,7 @@ class Program static List GetAllFilesMatching(string pattern, string directory) { - List res = new List(); + List res = new(); List files = GetAllFiles(directory); Regex expression = new Regex(pattern,