How can I delete the first n lines in a string in C#?

How can I delete the first n lines in a string?

Example:

String str = @"a
b
c
d
e";

String output = DeleteLines(str, 2)
//Output is "c
//d
//e"
14
задан Cody Gray 9 February 2011 в 00:26
поделиться