how to trim spaces in between string in c# code example
Example: c# remove spaces from string
string str = "This is a test";
str = str.Replace(" ", String.Empty);
// Output: Thisisatest
string str = "This is a test";
str = str.Replace(" ", String.Empty);
// Output: Thisisatest