Cast Generic to Generic [duplicate]
This question already has answers here: Cannot convert from List<DerivedClass> to List<BaseClass> (6 answers) In C#, why can’t a List<string> object be stored in a List<object> variable (14 answers) Closed 3 years ago. I have a base WPF UserControl that handles some common functionality for derived UserControls. In the code-behind of any derived UserControl I […]
Cast Generic to Generic [duplicate]
This question already has answers here: Cannot convert from List<DerivedClass> to List<BaseClass> (6 answers) In C#, why can’t a List<string> object be stored in a List<object> variable (14 answers) Closed 3 years ago. I have a base WPF UserControl that handles some common functionality for derived UserControls. In the code-behind of any derived UserControl I […]