title: Error 1 An object reference is required for the non-static field, method, or property 'temperature_conversion.Program.Celsius(int)'
body: <pre><code>class Program
      {
          static void Main(string[] args)
          {
              int temp;
              string choice;
              int finalTemp;
              Console.WriteLine("Enter a temperature");
              temp = Convert.ToInt16(Console.ReadLine());
  
              Console.WriteLine("Convert to Celsius or Fahrenheit?" + "\n" +"Enter c or f");
              choice = Console.ReadLine();
  
              if (choice == "c")
              {
                  Celsius(temp);
              }
  
  
  
              Console.ReadLine();//to keep open
  
          } //Main End
  
          public int Celsius(int t)
          {
              int c;
              c = 5 / 9 * (t - 32);
              return c;
          }
      }
  </code></pre>
  
  <p>I know the answer is really simple I just can't seem to figure out what I have done wrong.</p>
  
  <p>I'm trying to pass temp to the Celsius method.</p>