I have a checkbox and I want to know the type of e when CheckedChanged event is fired. c#
protected void CheckBox_CheckedChanged(object sender, EventArgs e)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
every object in .net have method
GetType()to get type of it i.e method of the base class object which is get inherited by every type.so to get the type of the event you can use
e.GetType()method will give you type of your event.