Console.WriteLine(" # of matches is : {0} ",m.Count);
foreach(Match match in m)
{
Console.WriteLine("value : {0}\n", match.Value);
}
}
staticint finds(string text, string pattern)
{
return0;
}
static string txt()
{
string text ="A string is an object of type String whose value is text. Internally, the text is stored as a sequential read-only collection of Char objects. There's no null-terminating character at the end of a C# string; therefore a C# string can contain any number of embedded null characters ('\0'). The Length property of a string represents the number of Char objects it contains, not the number of Unicode characters. To access the individual Unicode code points in a string, use the StringInfo object";