title: How to include one c# file into another c# file?
body: <p>How to include one c# file into another c# file?</p>
  
  <p>I have two c# file like one is test.cs and another one is main.cs. I want to include test.cs into main.cs.</p>
  
  <p>test.cs file code</p>
  
  <pre><code>// you can use Console.WriteLine for debugging 
  using System;
  using System.Collections.Generic;
  using System.Collections;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  class Solution
  {
     public bool solution(long number1, int[,] arr1,int dim_2,int dim_3) 
      {
          //some code here
      }
  }
  </code></pre>
  
  <p>main.cs code</p>
  
  <pre><code>using System;
  include test.cs;
  class Group
  {
      public static void Main(String[] args)
      {
          long  number1 =  5;
          int [,] arr1 = new int[,] {{0, 0},{1, 1},{2, 2},{3, 3},{4, 4}};
          int dim_2 = 5;
          int dim_3 = 2;
          Solution object_class =  new Solution();
          bool result = object_class.solution ( number1, arr1, dim_2, dim_3 );
          Console.WriteLine("Return :");
          Console.WriteLine( result );
      }
  }
  </code></pre>
  
  <p>what i am doing wrong here?? Please Help me.</p>
  
  <p>Thank you in Advance</p>