I have a class name as a string that I got with TYPE
Type type = myvar.GetType();
string _className = type.ToString();
My question is how to use this _className line here in the code below?
var data = this.ItemsSource as ObservableCollection<**_className**>()[2];
Here ItemsSource is shared.
Thanks in advance.
source
share