public static void Main()
string str = "this is john, who are you?";
char[] punctuation = new char[] { ' ', ',', '.', ':', '\t', '?', '!', '@', '#' };
char[] inputAsChars = str.ToCharArray();
foreach (char c in inputAsChars)
if (punctuation.Contains(c))
char[] tx = temp.ToCharArray();
System.Diagnostics.Debug.Print(strrev);