Tag: C#
In some cases, you just need to write a console application and want to be able to pass in different command line parameters as key/pairs. You can use the …
The company has purchased a https://www.ncrunch.net/ license for each C# developer. It is a Visual Studio plugin that runs the unit tests automatically. So unit tests will be checked …
C# is a managed programming language which means everything by default (or 90% of time), everything is properly managed by the GC (Garbage Collector), you don’t have to worry …
GUIDcan be used for random unique IDs. The chances of collisions are rare and that can be ignored. So instead of using Random() class to generate random characters/integers and …
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 …