Delegates in C# .NET Framework 4.0 allows us to address to methods. If we compare C# delegates with function pointer is C++, we can find many advantages of C# delegates over C++ pointer to functions such as: Read the rest of this entry »
The Tuples in C# are new to .NET Framework 4.0. They allow you to combine items that are from different types. Read the rest of this entry »
The extension method is a static method that can be defined as a extension to the methods of some class. It’s a nice alternative to inheritance. Here’s a simple example that can show you the power of the C# extension method: Read the rest of this entry »
If you read about delegates and events in C#, one of the questions that you probably will ask yourself is what’s the difference between them. Read the rest of this entry »
If you’re new to polymorphism in C#, here you can check out a few examples for easy understanding when override and new should be used: Read the rest of this entry »
Maybe, you wonder which is better choice: “try/catch” or “using” ?
well, it seem that they’re really different from each other: Read the rest of this entry »