public static void Main()
char[] separators = new char[] {' '};
Func<string, int, string[]> extractMeth = delegate(string s, int i)
{ char[] delimiters = new char[] {' '};
return i > 0 ? s.Split(delimiters, i) : s.Split(delimiters);
string title = "The Scarlet Letter";
foreach (string word in extractMeth(title, 5))
Func<string, int, string[]> extractMeth2 = (s,i) => s.Split(separators,i);
foreach (string word in extractMeth2(title,5))
string test = "This is a test";
test.Split(separators,2);