CoderJony

.NET

How to split a string into array by another string in C#

How to split a string into array by another string in C#

To split a string by another string separator, we can use Split function of C#.

Read More By Ankush Jain
How to check type of exception in c#?

How to check type of exception in c#?

You can determine type of exception in c# in two ways.

Read More By Ankush Jain
Solution- "PDB does not match image" issue in Post Build event in Visual Studio

Solution- "PDB does not match image" issue in Post Build event in Visual Studio

This error normally occurs when you are using Post Build event to move your .PDB & .DLL files from you current project's bin directory to some other project's bin directory. And when you run the project (in which you have copied the DLLs & PDBs), you find that you are no longer able to debug the project (whose DLLs & PDBs) you have copied from post build event.

Read More By Ankush Jain
How to serialize an object to XML string?

How to serialize an object to XML string?

You can use below method to serialize an object to XML string.

Read More By Ankush Jain