How to realize grouping Construction in C #
This article mainly introduces the relevant knowledge of how to realize grouping construction in C#. The content is detailed and easy to understand, the operation is simple and fast, and it has a certain reference value. I believe you will gain something after reading this article on how to realize grouping construction in C#. Let's take a look.
Example
Using System
Using System.Text.RegularExpressions
Public class Example
{
Public static void Main ()
{
String input = "1851 1999 1950 1905 2003"
String pattern = @ "(?