Creating Some Angular Components

In this post on Creating Some Angular Components, I will show you how to create components in Angular using a few examples. Basically, an Angular application is built with components where each component is a self-contained unit that we can manage independently. That is why we can modify and replace a component without affecting other parts of the application. Features […]

Working with Generics in TypeScript

In this post on Working with Generics in TypeScript, I will explain the concept of Generics and how to create them in TypeScript. Basically, generics allow us to create constructs that can work with any data type. In fact, we can create classes and functions without choosing a specific data type. Later when we run the code, we can specify […]

Using TypeScript Modules

In this post on Using TypeScript Modules, I will explain the modules in TypeScript with example code. For the purpose of developing a large application, we must keep in mind several aspects of software engineering and code reusability is one of them. Particularly, when some functionality is already developed and available. Basically, modules represent functionality. In essence, modules contain classes, […]

How to Create and Use Arrow Functions in TypeScript

In this post on How to Create and Use Arrow Functions in TypeScript, I will explain the concept of arrow functions in TypeScript. Basically, arrow functions represent the functions which don’t have a name. In other words, arrow functions are anonymous functions. Why Do We Need Arrow Functions? Although we create functions for the purpose of reusability of the code, […]

Explaining Interfaces in TypeScript with Examples

In this post on Explaining Interfaces in TypeScript with Examples, I will demonstrate how to create and use an interface in TypeScript. Interfaces in TypeScript Similar to the interfaces in other programming languages, TypeScript also has interfaces and they also serve the same purpose of providing a specification before the implementation. Essentially, interfaces allow us to have a contract between […]

Significance of Tuples in TypeScript

In this post on the Significance of Tuples in TypeScript, I will explain to you the benefits of tuples data structure in TypeScript with the help of a few examples. As a matter of fact, when we need to store lots of values together, then we use an array. However, all elements of the array must have the same type. […]

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 containing class. Hence, it is considered as the private […]

LINQ To SQL Examples

In this post on LINQ To SQL Examples, I will explain how to create an application that manipulates and retrieves data from a database using LINQ to SQL. To begin with, let us first understand what is LINQ to SQL. Basically, it is a mechanism for database access and manipulation using database objects rather than using a relational database connectivity approach. Object-Relational […]

A Beginner’s Tutorial on WPF in C#

In this post on A Beginner’s Tutorial on WPF in C#, I will show how to create a simple Windows Presentation Foundation (WPF) application. As you already know, using C# we can create several types of applications. Therefore, we can develop a console application in C# as well as a GUI application. In this article, I will explain how to […]