title: I implemented the Interface but I get "does not implement interface member"
body: <p>I am receiving this error:</p>
  
  <blockquote>
    <p><code>CalculatorCalories</code> does not implement interface member
    <code>ICalculatorCalories.GetIndex</code></p>
  </blockquote>
  
  <p>But I implemented the interface's method:</p>
  
  <pre><code>namespace WindowsFormsApp1
  {
      public interface ICalculatorCalories
      {
          int GetIndex { get; }
      }
  
      public partial class CalculatorCalories : Form, ICalculatorCalories
      {
          public CalculatorCalories()
          {
              InitializeComponent();
          }
  
          public int GetIndex(int growthC, int sex)
          {
              int index = growthC - 100 - ((growthC - 150) / sex);
              return index;
          }
      }
  }
  </code></pre>