c# ienumerable to list doesnt work code example Example: c# ienumerable to list List<object> list = enumerable.ToList();