Question:What are the benefits of using the ExpandoObject class over a using dictionary? 

A It offers easier data binding from XAML. 

B It's interoperable with dynamic languages, which will be expecting DLR properties rather than dictionary entries. 

C WPF data binding will understand dynamic properties, so WPF controls can bind to an ExpandoObject more readily than a dictionary. 

D ExpandoObject can help in creating complex hierarchical objects. ExpandoObject implements the INotifyPropertyChanged interface, which gives more control over properties than a dictionary. 

+ Answer
+ Report
Total Preview: 977

Copyright © 2024. Powered by Intellect Software Ltd