Jean Carlos Jean Carlos -4 years ago 163
C# Question

How check if type is class?

In .Net we have

to check if a type is a class using

But in .Net Core no. So, how can I check?

Answer Source

Try calling GetTypeInfo() to get at this information.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download