how to remove punctuation char from string c# code example
Example: c# remove all punctuation from string
string output = new string(OriginalString.Where(c => !char.IsPunctuation(c)).ToArray());
string output = new string(OriginalString.Where(c => !char.IsPunctuation(c)).ToArray());