title: Finger.IsExtended Leap Motion C#
body: <p>I want to detect the finger bending using a windows forms application in c#.</p>
  
  <p>I have difficulty to add (I read it from <a href="https://developer.leapmotion.com/documentation/csharp/api/Leap.Finger.html#csharpclass_leap_1_1_pointable_1aa5f9c23366996e146de0128391996bdc" rel="nofollow">this</a>):</p>
  
  <pre><code>HandList hands = frame.Hands;
  FingerList fingers = hands.Fingers;
  
  int extendedFingers = 0;
  for (int f = 0; f &lt; hands.Fingers.Count; f++)
  {
      Finger digit = hands.Fingers[f];
      if(fingers.IsExtended) extendedFingers++;
      label1.Text = f.ToString();
  }
  </code></pre>
  
  <p>because error appear one of them in second line of the program, and it said that </p>
  
  <blockquote>
    <p>"Leap.Handlist does not contain definition of a "Fingers""</p>
  </blockquote>
  
  <p>Have I missed something?</p>
  
  <p>And where do I have to add those program, if I try from <a href="https://developer.leapmotion.com/documentation/csharp/devguide/Project_Setup.html" rel="nofollow">this one</a>?</p>
  
  <p>is in the <code>void newFrameHandler(Frame frame)</code>?</p>