Just another Blog

My Technical, Professional and at times Personal Blog

Showing posts with label C#. Show all posts

Introduction to new C# features and best practices

 

Good session on C# in Tech-Ed 2011. Watch here

C# Inheritance

A class can inherit from another class to extend or customize the original class












In the example above asset is the base class also known as super class. The class stock is derived from asset class and is called the derived class or subclass. The property 'name' of class asset is reused in class stock.

refer: msdn

Named and Optional Parameters in C# 4.0

Google+ Followers