Removing the class name before calling a custom function?
<p>I have a function for getting a string to have only the first letter to be uppercase.</p>

<pre><code>public class Class1
{
    public static string UppercaseFirst(string s)
    {
        // Check for empty string.
        if (string.IsNullOrEmpty(s))
        {
            return string.Empty;
        }
        // Return char and concat substring.
        return char.ToUpper(s[0]) + s.Substring(1).ToLower();
    }
}
</code></pre>

<p>Example:</p>

<pre><code>string MyName = "john";
string result = Class1.UppercaseFirst(MyName)

Result: "John"
</code></pre>

<p>Is it possible to remove the "Class1." before the call to the function?</p>
