Using Static statement in C# 6.0

Posted on 1 CommentPosted in .net, C#.net

In our previous article, we have discussed the new features introduced in C# 6.0. You can go through that here.   In this article, we will discuss on: What is static statements in C#? How to use Static statement in C# 6.0?   Static Keyword: Static is a keyword used with method and variables Static […]

Parameterless Constructor for a struct in C# 6.0

Posted on Posted in .net, C#.net

In our previous article, we have discussed the new features introduced in C# 6.0. You can go through that here. In this article,we will discuss: Parameterless Constructor for a struct How to define Parameterless Struct   Parameterless Constructor for a struct: In earlier versions of C#, the structures or struct types were unable to support […]

Auto Property Initializer in C# 6.0

Posted on Posted in .net, C#.net

In our previous article, we have discussed the new features introduced in C# 6.0. You can go through that here. In this article, you will learn: Auto Property Initializer in C# What is Auto Property Initializer in C#? How it works? What is Auto Property Initializer in C# ? This feature enable you to set the […]

String Interpolation in C# 6.0

Posted on 2 CommentsPosted in .net, C#.net

In our previous article, we have discussed the new features introduced in C# 6.0. You can go through that here. In this article, you will learn: String Concatenation in C# (Old mechanism vs New mechanism) What is String Interpolation in C#? How it works? What is String Interpolation in C#? String Interpolation is a mechanism […]

MVC, MVP and MVVM Design Patterns

Posted on Posted in .net, C#.net

In this article, we will discuss on 3 most important design patterns for software development. MVC Design Pattern MVP Design Pattern MVVM Design Pattern MVC Design Pattern:   MVC stands for Model-View-Controller. It is a software design pattern which was introduced in 1970s. MVC design pattern splits an application into three main aspects: Model, View […]

Design Patterns overview in C# (Part – 2)

Posted on Posted in .net, C#.net

We have already discussed on Design pattern overview and Creational design Patterns part 1 here. Please go through part 1 before proceeding for Part 2.   In this article we will understand structural Design Patterns. That Includes: Adapter Design Pattern Bridge Design Pattern Composite Design Pattern Decorator Design Pattern Façade Design Pattern Flyweight Design Pattern […]

Difference Between IEnumerable, ICollection and IList Interface in C#

Posted on 3 CommentsPosted in .net, C#.net

In this article, we will understand: What is IEnumerable interface and when to use it? What is ICollection Interface and When to use it? What is IList  Interface and When to use it?   IEnumerable Interface: There are two different interfaces defined in the .NET base class library.There is a non-generic IEnumerable interface and there is […]