You work as an application developer at Certkiller .com. You have been asked to profile a business application that can be accessible using the Event Log API. You have started by adding the following code to create a custom event log:
if (EventLog.SourceExists ("Application1"))
EventLog.DeleteEventSource ("Application1");
//Create new event log
EventLog.CreateEventSource ("Application1", "Profile");
You need to write an event to the Application1 event log. What code must you use?()
A.A
B.B
C.C
D.D