AspNETSource
Free Source and Tutorials: ASP.NET, C#, HTML5, jQuery and more

C# Delegates, Lambda Expressions, Events – Learn by Examples

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 »

C# Tuples

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 »

C# Extension Method

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 »

C# Difference Between Delegate and Event

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 »

C# override and new

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 »

Try Catch vs. Using

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 »

Page 1 of 212