62,268
社区成员
发帖
与我相关
我的任务
分享
MatchCollection mat = Regex.Matches("I am a man", @"\w+\b");
List<string> mclist = new List<string>();
foreach (Match ma in mat)
{
mclist.Add(ma.Value);
}
mclist.Reverse();
foreach (string sm in mclist)
{
Console.Write(sm + " ");
}
/*
man a am I
*/