How can I convert the list of match result from regex into List? I have this function but it always generate an exception,
List
Here's another solution that will fit into your code well.
while (_matchList.Success) { _returnValue.Add(_matchList.Value); _matchList = _matchList.NextMatch(); }