In this article, we will learn how to get a URL or extract different parts of URL in ASP.NET Core. You may at times need to get different parts or values from the URL.Read More..
In this article, you will learn how to get the total number of Mondays in the month in C#. In this program, the first step is to get the total number of days in the current month, and then find the first day. For each day in the month, check if the day is a Monday, if so, then increment the value.Read More..
In this article, you will learn how to check if a DateTime is Null or Not Null or Empty in C#. In this article, we used the two ways to check if the Datetime is Null or Not Null or Empty.Read More..
In this article, you will learn how to get the number of total months between two dates in C#.Read More..
In this article, we will learn how to convert DateTime from a specific format to a specific format in C#. I found this way for handling the date conversion from a specific format to a specific format.Read More..
In this article, you will learn the difference between == operator and .Equals() method in C#. Both the == Operator and the .Equals() method is used to compare two value type data items or reference type data items. This article will explain the basic difference between these two.Read More..
In this article, you will learn what is the difference between Convert.ToString() and .ToString() method in C#. Both methods are used to convert a string. But, yes, there is a difference between both the method and the main difference between both the methods is that Convert.ToString() method handles the NULL whereas the .ToString() method does not handle the NULL and throws a NULL reference exception.Read More..