A version for .Net (in C#)