Xamarin.Android C# GetItemId() not defined?
<p>For the following code i am getting an error. How do i solve it? I just started android development and dont know anything much.</p>

<pre><code>public override bool OnOptionsItemSelected(IMenuItem item)
    {
        Type thing = item.GetType();
        String id = item.getItemId();}
</code></pre>

<p>Error CS1061: Type <code>Android.Views.IMenuItem' does not contain a definition for</code>getItemId' and no extension method <code>getItemId' of type</code>Android.Views.IMenuItem' could be found. Are you missing an assembly reference? (CS1061) (V002)</p>