0
When you have something like this
if (AdjM[Pointers[1], Pointers[0]])
if (Pointers[1] == VertEnd)
AddPath(2);
you could just write it like this
if (AdjM[Pointers[1], Pointers[0]] && Pointers[1] == VertEnd)
{
AddPath(2);
}
there is no reason that you couldn't merge the two if...