public static void Main()
var Customer = new Customer();
Type T = typeof(Customer);
Console.WriteLine("---------------------------Properties Info--------------------------");
var properties = T.GetProperties();
foreach(var property in properties){
Console.WriteLine(property.PropertyType.Name + " " + property.Name);
Console.WriteLine("---------------------------Methods Info--------------------------");
var methods = T.GetMethods();
foreach(var method in methods){
Console.WriteLine(method.ReturnType.Name + " " + method.Name);
Console.WriteLine("---------------------------Constructor Info--------------------------");
var constructors = T.GetConstructors();
foreach(var constructor in constructors){
Console.WriteLine(constructor.ToString());
public int Id {get; set;}
public string Name {get; set;}
public Customer(int ID, string Name){