Team - Programmingempire

Introducing Decorators in 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 decorator concept, their various types, and the benefits of using decorators. If you are using TypeScript version 1.5 or later, then you can use this feature. Furthermore, …

Introducing Decorators in TypeScript Read More »

Creating Some Angular Components

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 …

Creating Some Angular Components Read More »

Using TypeScript Modules

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

Using TypeScript Modules Read More »

How to Create and Use Arrow Functions in 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 …

How to Create and Use Arrow Functions in TypeScript Read More »

Explaining Interfaces in TypeScript with Examples

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 …

Explaining Interfaces in TypeScript with Examples 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 »