The problem of finding the GCD is usually done by using modular, i.a.
if (20 Mod 2 = 0) then
or C#
if (20%2==0)
This allows you to check if they could be devisible by a number without any remander. I have implemented sort of the thing you are looking for here:
Fun with continued fractions[
^]
As for the GoTo statments, they should be removed becouse the make the code completely unreadeble. I usually reffer to this kind of code as Spaghetti-code, as you cant find the start or end of anything. And they are sure to frustrate you or even worse, the person that would take over your code.