C# version of the aGOOF project.