Using the digit separator character _ in C# to break up your large numbers is just another little thing you can do to help the next developer (and you later) read your code. It’s available from C#7…
You might also be interested in...
Showing line numbers in SQL Server Management StudioLine numbers are not displayed by default in SQL Server Management Studio (SSMS) but… they are super helpful if you’re … Continue reading Showing line numbers in SQL Server Management...
Converting numbers to strings without scientific notation in C#
C# will automatically convert numbers which are of type float, double or decimal and have a lot of precision (lots … Continue reading Converting numbers to strings without scientific notation...
Consider using named arguments in C# to increase readability of method calls
By using named arguments in C# we don’t have to match the ordering of parameter lists of called methods. Instead the … Continue reading Consider using named arguments in C# to...
Free Visual Studio extensions to improve developer productivity
With every release Visual Studio becomes more feature rich, however it doesn’t do everything so it’s helpful to install a … Continue reading Free Visual Studio extensions to improve developer...
Set List<> initial capacity to improve speed
FYI… setting capacity on a List<> when creating it can avoid a lot of expensive resizing operations. Even if we … Continue reading Set List initial capacity to improve speed...