Answer – C# Event Handling Exercises

Qu: Write a program for Online Attendance. The conditions are as follow:

  1. User provides their name as Input and then application show message to “Welcome to their Name”.
  2. Jack, Steven and Mathew are banned for the organization. So, when any user enters Jack, Steven and Mathew as user name, the application raised an event and fire alarm as well as sends email to administration.



When this program gets executed and user enters any of the banned user name, the program started beeping for infinite time. You must press ctrl + c to stop this beep sound.

Leave a Reply

Your email address will not be published. Required fields are marked *