Function to calculate average of two integers
<p>I wrote this:</p>

<pre><code>    public static decimal Average(int a, int b)
    {
        return (a + b) / 2;
    }

    public static void Main(string[] args)
    {
        Console.WriteLine(Average(2, 1));
        Console.ReadKey();
    }
</code></pre>

<p>but it returns <code>1</code> .  But it should return <code>1.5</code> 
How can I fix it to return 1.5 ? </p>