TechBubbles Microsoft Technology BLOG

TagC#

Factory method Designpattern using C#

The factory method pattern is a creational design pattern used in software development to encapsulate the process of creating the objects. Concerns: Which object needs to be created. Managing the life time of the object. Managing the build-up and tear down concerns of the object. Definition: “Define an interface for creating an object, but let subclasses decide which class to instantiate”...

C# 3.0 features

The following features are introduced in the C# 3.0
Visual studio C# 2008
1. Lambda Expressions.
2. Extension Methods.
3. LINQ Query Expressions.
4. Anonymous Types.
5. Expression Trees.
6. Partial Methods.
7. Auto-Implemented Properties.
8. Object and Collection Intializers.

C# 2.0 features

The following features are introduced in the C# 2.0
[Visual studio C# 2005 ]
1. Generics.
2. Anonymous Methods.
3. Iterators.
4. Partial Types.
5. Nullable Types.
6. Delegate Inference.
7. Covariance  and  Contravariance.
8. Friend  Assemblies.
9. #  Pragma  warning.
10. Captured Variables.

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud