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 …
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. …
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 …
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 …
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 …
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 …
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. …
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 …
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, …
Data Visualization with Pandas
In this post on Data Visualization with Pandas, I will discuss how we can visualize our data by plotting various kinds of charts using the Pandas library of Python. Basically, there are several functions for plotting the charts available in the pandas library. Further, these functions are highly customizable and simple to use. Therefore, you …