C#

Examples of Extension Methods in C#

Examples of Extension Methods in C#

In this post on Examples of Extension Methods in C#, I will explain the concept of extension methods in C# using several examples. Before getting started with examples let us first understand the extension methods. In fact, extension methods make it possible to add in the existing functionality. In other words, suppose we already have …

Examples of Extension Methods in C# Read More »

How to Setup a Connection with SQL Server Database in Visual Studio

How to Setup a Connection with SQL Server Database in Visual Studio

In this post on How to Setup a Connection with SQL Server Database in Visual Studio, I will demonstrate a step by step procedure for creating an SQL Server Database and set up a connection. Also, I will describe how to retrieve data using a C# application. Let us start with a console application in …

How to Setup a Connection with SQL Server Database in Visual Studio Read More »

Understanding the Concept of Nested Classes in C#

Understanding the Concept of Nested Classes in C#

In this post on Understanding the Concept of Nested Classes in C#, I will explain the Nested Types using several examples. Basically, a nested type encloses the definition of another type. Important Points to Remember about Nested Types The nested class is not accessible outside the containing class since it is a member of the …

Understanding the Concept of Nested Classes in C# Read More »

Creating Navigation Window Application Using WPF in C#

Creating Navigation Window Application Using WPF in C#

In this post on Creating Navigation Window Application Using WPF in C#, I will show you how to create a navigation window application in WPF that consists of multiple pages. Basically, in such application we have several pages available which we can navigate using the navigation buttons. Also, we can pass the data values from …

Creating Navigation Window Application Using WPF in C# Read More »