static void Main(string[] agrs) { Person person = new Person("kek", 16); Reflector reflector = new Reflector(); reflector.ClassContains(person); reflector.ClassContainsMethods(person); Console.WriteLine(new string('_', 50)); reflector.ClassContainsProperties(person); Console.WriteLine(new string('_', 50)); reflector.ClassContainsInterfaces(person); Console.WriteLine(new string('_', 50)); reflector.MethodContainsArg(person, typeof(int)); Console.WriteLine(new string('_', 50)); reflector.CallMethod(person, "kek"); }