Just decided to put together a c# project for an implementation of the Tarjan cycle detection algorithm as I can't seem to find any out there already. The original code for this was posted on stackoverflow by user623879. Hope this is useful!