Implementation of Pogo using C#