319 0
Convert string to char or char array in C#
In this article, I have mentioned how you can easily convert string to char array in C# using .ToCharArray() and Char.Parse using Console application example.
Type
Article
289 0
Convert C# Class to JSON with Example
In this article, I have explained how we can convert C# Class to JSON with an console application example.
Type
Article
258 0
Foreach() vs Parallel.Foreach() in C#
In this article, I have mentioned difference between Foreach() and Parallel.Foreach() in C# with an example.
Type
Article
216 0
Format Code in Visual Studio (With Indentation)
In this article, I have mentioned shortcut to format code in Visual Studio, which you can use format any document in Visual studio.
Type
Article
201 1
How to add time in datetime in C#?

Hello, If I have a time string "4:49 pm" or timespan value and I would like to add it in a datetime value, how can i do it in C#?

...
Type
Question


163 0
Lambda expression in C# (With Examples)
In this article, I have explained what is lambda expression in C# and how to use it with various working examples.
Type
Article
141 1
Get only time from Datetime in C#?

Hello, I was checking this How to show date time with am/pm using C# in ASP.NET? but I would like to know simple C# code to get only time from datetime in C#.  So for example, If I have  ' 09/04/2022 03:52 PM', i need only '03:53 PM'.

...
Type
Question
137 0
Select vs SelectMany in C# With Example
In this article, I have mentioned difference between select and selectmany in C# linq with an example.
Type
Article
84 0
String to Float in C# (Various ways)
In this article, I have mentioned, how we can convert string to float in C# using various possible ways with console application example.
Type
Article
66 0
Set Default Value to Property in C#
In this article, I have mentioned with an example to set default value to a class property in C#
Type
Article

Page 19 of 20