I am learning c# code from one of the applications that I run SQL queries from.
I am wondering what the following code does in layman's terms:
return typeof(ViewModelBase<T>).GetProperty(propertyName) != null;
This is in a function that returns a boolean and a string is passed into it.
ViewModelBase<T>
is an abstract class. Can someone also explain what the <T>
does in this? I have ideas on these but I'm not sure what exactly is true.
Thanks!