title: Keep common functions in separate cs file? (C#)
body: <p>I have a common functions AppPath() that is used in several windows forms of my application, instead of declaring it in each form, I would like to place it in a separate cs file.</p>
  
  <p>I have created a separate class cs file, which I gave a different namespace (modUtilities) and put all functions inside a modUtilities class.</p>
  
  <pre><code>namespace modUtilities
  {
      public class modUtilities
      {
          // all functions such as AppPath()....
      }
  }
  </code></pre>
  
  <p>But I can't figure out how to use function from modUtilities inside different windows forms where I need it. I am trying to use "using modUtilities", instead of creating new instance (modUtilities modU = new modUtilities())
  Can someone help me?</p>