 <p>I'm not quite sure whether I have completely understood what the problem here is! But you can simply use a <code>Dictionary</code> to hold string values of each 45-degree slice and check it against the word user drags.</p> <pre><code>Dictionary&lt;int, string&gt; dict = new Dictionary&lt;int, string&gt;(); dict.Add(1, "Eraser"); dict.Add(2, "Glue"); dict.Add(3, "Pen"); dict.Add(4, "Scissors"); dict.Add(5, "Stapler"); dict.Add(6, "Sharpener"); dict.Add(7, "Ruler"); dict.Add(8, "Pencil"); </code></pre> <p>And change your code to:</p> <pre><code>double degree = rng.Next(360, 720); double resultAngle = degree - 360; int num = (int)Math.Ceiling(resultAngle / 45); </code></pre> <p>Then, the name of the element the pointer is currently pointing at would be:</p> <pre><code>string currentElem = dict[num]; </code></pre>