Effect Programming in C#