Invoke Method by Name

Did you ever wonder how AutoEventWireup="true" works in ASP.NET Pages? The page class basically hooks different generic event handler methods to the page life-cycle. Such as Page_Load Method get’s called if present. OK!! It’s called using reflection. public partial class_Default: System.Web.UI.Page {     protected voidPage_Load(objectsender, EventArgs e)     {     } }   You can…

0