Ordinarily if you try to access an array member that doesn't exist you get an "IndexOutOfRangeException".
However, for some reason, I don't get that for a Regex GroupCollection.
For example:
var match = Regex.Match("", "a");
var test = match.Groups[6];
Does not throw an exception, despite match having only 1 group.
Why does this happen?