C# Version of Truice