title: start another .cs file in C#.net console
body: <p>Im pretty new in C# so i have a question .
  I have 2 files in project (Visual Studio).
  I have Program.cs file witch is console application what will be ran when executed But then i have included a .cs file because i have a loop and i want it to run a code all the time.
  It checks for one procces and if it exists kills it .</p>
  
  <pre><code>while (!File.Exists("C://ProgramData//myfile2.jpg"))
  {
  Process[] pname = Process.GetProcessesByName("PROCCES NAME");
  if (pname.Length == 0) {
  Console.Write("The procces doesnt exist!");
  }           
  else
  {
  foreach (Process proc in Process.GetProcessesByName("procces name "))
  {
  proc.Kill();
  }
  }
  </code></pre>
  
  <p>Now i want it to runn all the time but i have other commands i want to be executed at the same time </p>
  
  <p>How do i call/start another .cs file so it will be ran .
  im using net 2.0 </p>