public static void Main()
Console.WriteLine("The Program class contains the following Methods)");
var methods = type.GetMethods();
foreach (var method in methods)
Console.WriteLine(method.Name);
Console.WriteLine("...and the following Properties");
var properties = type.GetProperties();
foreach (var property in properties)
Console.WriteLine(property.Name);