Answers for "c# check if object is of any generic type"

C#
0

c# check if object is of any generic type

return list.GetType().GetGenericTypeDefinition() == typeof(List<>);
Posted by: Guest on September-18-2020

Code answers related to "c# check if object is of any generic type"

C# Answers by Framework

Browse Popular Code Answers by Language