Generalizing an extension method to work with any type
<p>I am trying to generalize my "Last" extension method to be used with a list of any data type:</p>

<pre><code>public static CartesianPoint Last(this List&lt;CartesianPoint&gt; MyList)
{
    return MyList.ElementAt(MyList.Count - 1);
}
</code></pre>

<p>"CartesionPoint" is a custom struct.  I would like this function to work with a list of any data type.  Is this possible?  Is using an 'object' the only way?</p>
