import a static method
<p>How can I import a static method from another c# source file and use it without "dots"?</p>

<p>like : </p>

<p>foo.cs</p>

<pre><code>namespace foo
{
    public static class bar
    {
        public static void foobar()
        {
        }
    }
}
</code></pre>

<p>Program.cs</p>

<pre><code>using foo.bar.foobar; &lt;= can't!

namespace Program
{
    class Program
    {
        static void Main(string[] args)
        {
             foobar();
        }
    }
}
</code></pre>

<p>I can't just <code>foobar();</code>, but if I write <code>using foo;</code> on the top and call <code>foobar()</code> as <code>foo.bar.foobar()</code> it works, despite being much verbose. Any workarounds to this?</p>
