Remove braces from single-line "for" loop

This commit is contained in:
NintenHero 2024-08-11 16:50:08 -05:00 committed by GitHub
parent 31712565cb
commit f336df7b76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -11,9 +11,7 @@
List<Subfile> subfiles = new(); List<Subfile> subfiles = new();
for (int i = 0; i < fileCount; i++) for (int i = 0; i < fileCount; i++)
{
subfiles.Add(new()); subfiles.Add(new());
}
string path = Path.GetDirectoryName(args[0]) + "\\" + Path.GetFileNameWithoutExtension(args[0]); string path = Path.GetDirectoryName(args[0]) + "\\" + Path.GetFileNameWithoutExtension(args[0]);
Directory.CreateDirectory(path); Directory.CreateDirectory(path);