When programming in C#, we often test if a variable is used in the following way: if (var != null) { // do the right thing } else { // fallback or raise exception } This works well if the variable is a nullable type or a reference type, but when the variable is of […]
You are browsing archives for
Tag: C#
Essential tools for .net development
Every developer has the need to use good tools from time to time. It makes the developer’s job a lot easier. In my experience as a .NET developer these are the really essential tools every (.NET) developer should have ( and use of course ;)). Red-Gate’s .NET Reflector ( http://www.red-gate.com/products/reflector/ ). This tool is in […]
Copy properties between classes using LC...
Describes how you can create a delegate, using lightweight code generation, to copy equal properties between objects of different classes.