title: Floating point division returns integer numbers
body: <p>I want to calculate the average of two floating point numbers, but whatever the input, I am getting an integer returned.</p>
  
  <p>What should I do to make this work?</p>
  
  <pre><code>public class Program
  {
      public static float Average(int a, int b)
      {
          return (a + b) / 2;
      }
  
      public static void Main(string[] args)
      {
          Console.WriteLine(Average(2, 1));
      }
  }
  </code></pre>