You can quite easily do this with an extension method, either using the form you've already found, or perhaps a combination of Take and Count
public static IEnumerable DropLast(this IEnumerable enumerable)
{
return enumerable.Take(enumerable.Count()-1);
}