条件付きの OrderByDescending の正しい構文を知りたい
私は次のコードを持っています、
_mobileRepository.GetAllEpisodes().OrderByDescending(x => x.AirDate).ToList();
ただ、今は AirDate > = 2012 だけをリストアップしたいので、次のようにできますか?
_mobileRepository.GetAllEpisodes().OrderByDescending(x => (x.AirDate> 2012)).ToList();
ここで正しい構文は何ですか?