title: How to access static class in different file from partial class
body: <p>I have partial class Form1 in Form1.cs .
  I have ManagedIpHelper static class in Sample.cs file.</p>
  
  <p>I want to access a method in that static class from a method in Form1 class. But when I use this is showing doesn't exist in the current context.
  In both of the file name namespace is same. I have another class named <code>TcpRow</code> in the Sample.cs file. It's normal <code>public class</code> and it's accessible with no error from Form1's method.</p>
  
  <p>What is suggested solution to this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I am sorry.</p>
  
  <p><code>TcpRow a;
  foreach (TcpRow tcpRow in ManagedIpHelper.GetExtendedTcpTable(true))</code></p>
  
  <p>for this code, first line has error <code>TcpRow could not be found(are you missing a using directive...</code>
  and second line has only error : <code>ManagedIpHelper</code> doesn't exist in current context.</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>sample.cs</p>
  
  <p><img src="https://i.stack.imgur.com/dgIrs.jpg" alt="sample.cs"></p>
  
  <p>Form1.cs</p>
  
  <p><img src="https://i.stack.imgur.com/9tFz4.jpg" alt="form1.cs"></p>