This is a C# based dynamic connectivity algorithm implementation.