Algorithms in Dot.NET