Named Arguments in C#
Tutorialsrack 07/08/2022 C#
In this article, you’ll learn about what is named arguments in C#. And how you can use named argument in C#.
Read More..In this article, you’ll learn about what is named arguments in C#. And how you can use named argument in C#.
Read More..By default, each parameter of a method is required, but in C# 4.0, Microsoft introduces optional parameters. So in this post, you’ll learn what is an optional parameter in C#. And how can you create and use optional parameters in C#?
Read More..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’ll learn what is the difference between the ref and out parameters in c#. ref and out keywords in C# are used to pass arguments within a method. By default, parameters are passed to a method by value. By using this ref or out keywords you can pass a parameter by reference.
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, you will learn how to validate an email address in c#. There are various ways to validate an email address in C#. In this article, we validate the Email address using MailAddress Class and Using Regular Expression.
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 how to compare two dates without time in C#. Sometimes, we need to compare only the date parts of two DateTime variables in C#.
Read More..