C# CG library