Check if a type implements an interface

If you need to check if a type implements an interface you can use the IsAssignableFrom method attached to the Type object: class Program { public static void Main(string[] args)…If you need to check if a type implements an interface you can use the IsAssignableFrom method attached to the Type object: class Program { public… Continue Reading