Flow control extension examples in C#