replace all ponctuation characters c#

C#
new string(myCharCollection.Where(c => !char.IsPunctuation(c)).ToArray());
Source

Also in C#: