public class DemoDelegate {

void Repeat10Times( TwoParamsDelegate callback ) {
	for (int i = 0; i < 10; i++) callback( "kniha Linq", i );
}

void Run3() {
Repeat10Times( delegate( string text, int age ) {
	Console.WriteLine( "{0} {1}", text, age );
} );
}
// . . .
}
