title: How to include a class file using c#
body: <p>OK, let me preface this by saying I'm not coding in visual studio. I'm doing this in down time at work, and don't have that option. I'm coding in Notepad ++ portable and compiling with the windows built in c# compiler.</p>
  
  <p>That said, I have this class in useful.cs</p>
  
  <pre><code>using System;
  
  public class Useful
  
  {   
      public void GetInt()
          {
              string s = Console.ReadLine();
              int i = Convert.ToInt32(s);
              return i;
          }
  }
  </code></pre>
  
  <p>Now I also have a main project file, let's call it project.cs. How do I call useful.cs in that file so I can just type like <code>int a = Useful.GetInt();</code> and have it work?</p>