値が
StatusList = new List<StatusData>
{
new StatusData {Count = 0, Id = 1},
new StatusData {Count = 0, Id = 2},
new StatusData {Count = 1, Id = 3},
new StatusData {Count = 0, Id = 4},
new StatusData {Count = 2, Id = 5},
new StatusData {Count = 3, Id = 6},
new StatusData {Count = 0, Id = 7},
new StatusData {Count = 0, Id = 8},
new StatusData {Count = 0, Id = 2}
};
ゼロの要素を削除して、リストの左側と右側をトリムするにはどうすればよいですか?