Method contains default parameter value
<p>I want to define a function in c# with 2 parameters and they have their default values , like</p>

<pre><code>    public T AccessEntity(string Id = null, string File = null)
    {
        return (from e in ServiceContext.CreateQuery&lt;T&gt;(TableName)
                where e.RowKey == Id || e.File == File
                select e).FirstOrDefault();
    }
</code></pre>

<p>Now with this function user can search their record by file or id but if user try to search the record by file then how we can map the first argument to second formal parameter without passing any dummy value as a first argument.</p>

<p>I do not want this :  <code>invokingobj.AccessEntity(null, "name of file");</code></p>

<p>Is this possible ?</p>
