Tag: C#
Magic string constants are as bad as magic numbers. They are error-prone. One bad impact is that if you have quite a number of usages throughout the project, you …
In a team, each developer writes bad code sometimes. For example, in this post, the total number of general exceptions (C#) is counted in a code-base. Writing general exceptions …
Resharper is a great and must-have tool (plugin) for Visual Studio. It improves the code quality and helps to identify potential problematic code. The ‘Refactoring’ feature is great but …
The msbuild.exe is the core of the Visual Studio compiler. It has a switch option /verbosity which can be one of the values: q, m, n, d, and diag. …
Why are catching any general exceptions bad? They are just to suppress run time errors which may cause some more serious and worse errors later. try { } catch …