FunWithQuadTrees A .NET implementation of the QuadTree algorithm Wikipedia - https://en.wikipedia.org/wiki/Quadtree Source contains both Java and C# versions.