The xref:System.Collections.ObjectModel.ObservableCollection`1 class represents a dynamic data collection that provides notifications when items get added or removed, or when the whole list is ...
Linq で Select や OrderBy した結果を List にキャストしようとすると InvalidCastException が発生することがあります。 原因は結果の型を List<T> にキャストできないからです。 このエラーを解消するには List<T> へのキャストではなく、結果に対して ToList() を実行する ...
度々躓きの原因になっている印象のある"IEnumerable"についてまとめたいと思います。 昔ながらの「配列」であっても、可変長配列である「List」であっても、DataRowCollectionなど、他者が作った「何かを寄せ集めたもの」であっても、中身に囚われずに同じよう ...
* Non-dictionary types that implement xref:System.Collections.Generic.IEnumerable`1 serialize as JSON arrays. Dictionary types, which do implement xref:System.Collections.Generic.IEnumerable`1, ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する