c#每日一题(十八)
VBDN 2005-04-26 11:22:34 You are developing a Windows Form application using C# for TKSuperBus Inc. The IT Security Executive requests that the application's trace information should be written to an event log. You have created an EventLogTraceListener object in code that will redirect output to the event log. What method should you implement to write text to the event log?(Select the best choice.)
A.Trace.WriteLine
B.TraceListener.WriteIndent
C.Trace.ToString
D.TextWriter.Write