Inconsistent accessibility error (c#)
<p>I've been a vb developer for years but <em>Just</em> started using c#.</p>

<p>I'm not sure what this error means or how to fix it. All my previous searches have returned nothing that helps me.  Can you guys help with this ?</p>

<p>Here's the error:</p>

<p>Inconsistent accessibility: parameter type 'ServeArticle.ReturnStyle' is less accessible than method 'ServeArticle.DisplayArticle(int, string, ServeArticle.ReturnStyle)'</p>

<p>Here's my code:</p>

<pre><code>public partial class ServeArticle : BaseWebPage
{

    protected mArticle objArticle;
    protected string strHTML;

    enum ReturnStyle:int
    {
        XML_SingleArticle = 4,
        XML_MultiArticle = 5
    };


    protected void Page_Load(object sender, EventArgs e)
    {
            DisplayArticle(123, 'p123', (ReturnStyle)intReturnStyle);
        }

    }


    protected void DisplayArticle(int intPublisherID, string strPublisherKey, ReturnStyle intReturnStyle)
    {
        try
        {.....
</code></pre>

<p>Any help is much appreciated !</p>

<p>Thanks.</p>
