c#

C# Null Coalescing Operator

Few new operators have been introduced in C#2.0. Null Coalescing operator, which is one of them, is discussed in this post. While coding, we frequently need to perform null checks as

Interface 101: Explicit Interface Implementation using C#

The primary motivation of introducing inerface is to enforce OO-style of thinking while revoking the drawbacks of multiple inheritance. In fact, the support for explicit interface implementation is an important tool in OO-developers&

MethodImplAttribute -Easy way to Synchronize

Sometimes when we try to synchronize a method of a .Net class we need to consider lots of stuff. And sometimes it really becomes complicated to synchronize a method.  But if we come