remove punctuation from a string in c-sharp 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());