In this article, we will learn how to convert a char array to string in C#. There are various ways to convert the char array to string. Here, we can convert char array to string in three ways: the first way is by using string constructor, the second way is by using the StringBuilder and the third way is by using the string.join() method.Read More..
In this article, we will learn how to get the only time part from DateTime in C#. we will use the DateTime object to initialize the date with time. And use the ToString() method to format the DateTime to get the time. In this program, we will use time format specifiers to get the time only from the Datetime object.Read More..
In this article, we will learn how to get a month's name from the month number in c#. In this article, we will use DateTime formatting and DateTimeFormat class methods that belong to System.Globalization.CultureInfo.CurrentCulture get a month's name from the month number.Read More..
In this article, we will learn how to get a total number of days in the month in c#. There are two built-in methods to get the total number of days in a month. The first method is DateTime.DaysInMonth(year, month) and the second method is CultureInfo.CurrentCulture.Calendar.GetDaysInMonth(year,month).Read More..
In this article, we will learn how to get all the list of cultures with country names using system.globalization in c#. Sometimes we need to localize a program and to localize a program we need to specify a culture code such as English culture code is en-US in the United States, etc.Read More..
In this article, we will learn how to check if the URL contains QueryString or not in c#. I need to check if this URI contains some parameters or not.Read More..