TypeScript

Introductory Examples of Decorators in TypeScript

In this post on Introductory Examples of Decorators in TypeScript, I will explain the different types of decorators with example code. Meanwhile, if you want to learn the basics of Decorators in TypeScript, then you can refer to my earlier post here. To begin with examples, first, we will consider the Class Decorators. Furthermore, we can …

TypeScript

Introducing Decorators in TypeScript

In this post on Introducing Decorators in TypeScript, I will give an introduction to the concept of decorators in TypeScript. In fact, this introductory article contains information about the decorator concept, its various types, and the benefits of using decorators. If you are using TypeScript version 1.5 or later, then you can use this feature. …

TypeScript

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. …

TypeScript

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 …

TypeScript

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 …

C#

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 …

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 containing class. …