Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Look at the following code: public delegate void EventHandler(); public static event EventHandler handler; static void Bar() { Console.WriteLine("Bar"); } Which of the following is a valid way to assign a new event handler?

handler += new EventHandler(Bar);
handler = new Event(Bar);
handler += new Event(Bar);
handler = new EventHandler(Bar);
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon