Minimal implementation in .NET