How to Split a String in C#/CSharp

How to Split a String in C#/CSharp
Rating: 5 - 1 Votes

How to Split a String in C#/CSharp

To split a string in C#/CSharp, we make use of Split method.  This will take a character as parameter to split.  In the below given example, we are passing an empty space as parameter.