palaashdwivedi
❔ I'm very new, still learning, I don't know understand what's wrong with this
string str = "This is an example!";
// using the method
String[] strlist = str.Split();
string r = "";
foreach (String s in strlist)
{
char[] charArray = s.ToCharArray();
string m = (Array.Reverse(charArray));
Console.WriteLine(s);
Console.WriteLine(new string(charArray));
//Console.WriteLine(s);
}
//Console.WriteLine(strlist);
37 replies