Question:You are creating a Console application, and you want Debug and Trace output displayed directly to the console. Which code sample does this correctly?
A Debug.Listeners.Add(New DefaultTraceListener())
Debug.AutoFlush = TrueB Debug.Listeners.Add(New ConsoleTraceListener())
Debug.AutoFlush = True
C Debug.Listeners.Add(New EventLogTraceListener())
Debug.AutoFlush = True
D Debug.Listeners.Add(New XmlWriterTraceListener())
Debug.AutoFlush = True
+ AnswerB
+ Report