Categories: C#.Net

Call base class constructor and its methods from child class by using "base" keyword in C#:

This explains about C# keyword base. It discuss about what are the advantages of base keyword, when can we use base keyword and how to call base class constructor and its methods from derived class by using base keyword in C#.

Categories: C#.Net

The use of "this" Keyword in C#, constructor chaining in .Net

This discuss about what is the use of "this" keyword in .Net, when can we use "this" keyword in C# and how can avoid scope ambiguity in C#.Net. It also explains about constructor chaining in C#.

Categories: C#.Net

Structural Patterns, Proxy Design Pattern in C#, Example Of Proxy Pattern in C#

This is discuss about one of the Structural Design Patterns in .Net. This explains about Proxy Design Pattern in .Net or C#, example Of Proxy Pattern in C#, advantages of proxy patterns and when to use proxy design pattern in C#.

Categories: C#.Net

C# 2008 New Features

This discuss about new features of C# 2008 or .Net 3.5. It explains various new features like Automatic properties, Object Initializers, Type Inference, Anonymous Types, Lambda Expressions and Extension Methods. It explains about each in detail.

Categories: C#.Net

Abstract Factory Design Pattern in C#.Net

Abstract factory provides the interface to access family of related objects without specifying their concrete classes. That means if you want to access one instance of multiple related classes, abstract factory provides that instance. Abstract factory design pattern in C#.Net provides the solution for such type issues.

Categories: C#.Net

Creational Pattern, Singleton Design Pattern, Example of Singleton Pattern in C#

Singleton design pattern is a creational pattern. You can use singleton pattern in C# whenever you need to maintain instance of a class globally. This article discuss about singleton design patterns in C#, example of singleton design pattern in C#. Singleton pattern in .Net is very useful whenever you need to control the creation of object for particular class.

Categories: C#.Net

Static Keyword, Static members, Static Constructor, Static Class in C#

C# class can contain any number of static members. In this example I explain about static keyword, different static members, static constructor, static class and how to create static class and when to use static members, static constructor and static classes.

Categories: C#.Net

Access Specifiers Or Access Modifiers in C#

Access Specifier or Access modifier determines scope of variable or method you created in your application. Here I discussed about various access specifiers or access modifiers in C#. Access specifiers or modifiers available in C# are public, private, protected, internal and protected internal. Here I explained each with example.