title: Overriding GetItem Method of ArrayAdapter in Monodroid
body: <p>I have a class that override ArrayAdapter in my monodroid app. It used to create an auto complete for a text view. Its code is:</p>
  
  <pre><code>class PlacesAutoCompleteAdapter: ArrayAdapter  &lt;String&gt;  ,IFilterable 
  {
      private List&lt;String&gt; resultList;
  
      public PlacesAutoCompleteAdapter(Context context, int textViewResourceId):
          base(context,textViewResourceId)
          {
  
          }
  
      public override int Count 
       {
          get 
          {
              return base.Count;
          }
      }
  
      public override  String GetItem (int position)
      {
          return resultList[position];
      }
  
  
  }
  </code></pre>
  
  <p>but it gives this error:</p>
  
  <pre><code> cannot override inherited member 'Android.Widget.ArrayAdapter&lt;string&gt;.GetItem(int)' because it is not marked virtual, abstract, or override (CS0506)
  </code></pre>
  
  <p>I am confused. What is this error for? surely GetItem method is virtual in base class and I used the override word. What is this error?</p>