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