So, I am fairly new in coding, Rhinoceros and Grasshopper. I took an introductory course as part of a class in my Masters and I thought I was grasping the basics but then this error comes out: 1. Warning (CS0162): Unreachable code detected (line 90). Since I have no background in coding/programing I have been googling and trying to understand what that means. Honestly, I can not follow the explanations online, they are too complex.
What I am trying to do is simple: I want to be able to create random extrusions in which the height depends on the distance to reference point. The closer to the point the higher the extrusion.
I attached my GH file here if everyone can check on Line 90 and explain to me what does the Warning mean.
PS: if anyone knows about some good C# beginners crash courses I am open ears or eyes.
UMS_Dario Corral.gh (4.1 KB)