class Plane
{
public event EventHandler Land;
protected void OnLand()
{
if ( null != Land )
{
Land( this, null );
}
}
}
it is event handler best practice to do instead:
EventHandler temp = Land;
if ( null != temp )
{
temp( this, null );
}
Is that truly necessary? In what case could temp be different from Land?