C# Implementation of StarCode for testing purposes