ErythroGuild / irene

<Erythro>'s server admin bot.
Mozilla Public License 2.0
0 stars 0 forks source link

Change `for` loop variables to use `int` #400

Closed Ernest314 closed 1 year ago

Ernest314 commented 1 year ago

As in, for (var i=0; ; ) instead of for (int i=0; ; ).

Recommended by Microsoft: https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions

Ernest314 commented 1 year ago

Actually... use int instead. This makes it much simpler for the style checker to not trigger on it, and also it's the more idiomatic way of doing it anyhow.