In this post on Understanding Dispose and Finalize in C#, I will explain the two important methods related to the Garbage Collection. Basically, the garbage collection module of Common Language Runtime (CLR) in .NET Framework frees the programmer for memory management tasks. In fact, the garbage collector maintains three generations of objects – generation 0, …
What is Power Bi and Why is it Beneficial?
In this post first, let us understand What is Power Bi and Why is it Beneficial? Basically, Power BI is a service for data analytics provided by Microsoft. Also, the Power BI helps you get meaningful insight from your data that is otherwise very difficult to get. For instance, you may have data collected from several unrelated …
Creating Basic Charts using Plotly
In this post on Creating Basic Charts using Plotly, you will learn to create a basic chart using a python package called Plotly. About Plotly Basically, it is a graphing library in python language that allows people to create interactive charts. The library has provision for creating many types of charts ranging from basic charts to scientific …
Visualizing Regression Models with lmplot() and residplot() in Seaborn
In this article on Visualizing Regression Models with lmplot() and residplot() in Seaborn, I will explain these two methods of the Seaborn package. What is a FacetGrid? Basically, it is a class in the Seaborn package that helps us visualize the distribution of one variable. At the same time, we can also visualize the relationship between the …
Examples of Connected and Disconnected Approach in ADO.NET
Today I will give some examples of the Connected and Disconnected Approach in ADO.NET. Basically, the ADO.NET library in .NET Framework provides the functionality for database access. This library offers lots of classes and methods for fetching and manipulating data from any data source. The following examples demonstrate how to perform database operations using these two approaches. As …
New Features in C# 9
In this post, I will discuss several New Features of C# 9. In fact, the latest release of C# has added many new features for making coding easier. Here, I will explain Records, Init-Only properties, Top-Level statements, module initializers, and use of new(). Following are the New Features in C# 9 The important New Features …
IEnumerable and IEnumerator Interfaces
IEnumerable and IEnumerator Interfaces in C# have been implemented by a number of collection classes. Basically, these interfaces provide the functionality for traversing the elements of a collection. Basically, IEnumerator is something that can enumerate or visit the elements of a collection. Therefore, if any class implements IEnumerator, it has the ability to enumerate a collection. On …
KeyValuePair and its Applications
Today I will discuss KeyValuePair and its Applications. Basically, it is a collection in C# that combines two objects together – one is called a key, and another one is called a value. Essentially, it is a generic struct. The namespace System.Collections.Generic contains the KeyValuePair struct. Creating a KeyPaluePair We use the constructor KeyValuePair<TKey, TValue)(k, v) to create its instance as shown below. …
Angular 10 Data Binding in Different Ways
Today I talk about Angular 10 Data Binding in Different Ways. Earlier I have discussed components in Angular and how to create them. Meanwhile, the components also require data communication. Accordingly, the data binding specifies how components communicate data with the View. Different Ways of Data Binding As can be seen there are different ways in which …
C# Root Class – Object
In this post, I will explain C# Root Class – Object which every class inherits from. Specifically, each type in C# has a base class, whether it is a reference type or a value type. Particularly, this base class is called Object. Also, the Object class provides several methods that any class can either use or override. …