public static void Main(string[] args)
Logic logic = new Logic();
Console.WriteLine("Exception was caught: " + e.Message);
PropertyInfo propInfo = logic.GetType().GetProperty("MyProperty");
propInfo.SetValue(logic,5, null);
Console.WriteLine("Reflection exception was caught: " + e.InnerException.Message);
throw new Exception("This is the exception");