how to remove white space in between string c# code example
Example: remove whitespace between string c#
string str = "C Sharp";
str = Regex.Replace(str, @"\s", "");
string str = "C Sharp";
str = Regex.Replace(str, @"\s", "");