A shorter way to write the following function in C#?
<p>I have this function - </p>

<pre><code>public int GetAvgResult()
{
 var weeklyvalues=GetWeeklyValues();//gets list of weekly values.
 if (weeklyvalues.Count == 0)
                return 0;
            return (weeklyvalues.Sum() / weeklyvalues.Count);
}
</code></pre>

<p>Is there a shorter way to write this using <code>?:</code> or maybe something else ?</p>
