The Debug class

What is the difference between
   For a = 1 To 5
      Debug.WriteLine(a)
   Next
and
   For a = 1 To 5
      Debug.WriteLine(a, "test result")
   Next

Answer the following questions and explain your answers:

  1. How do you switch between Debug and Release modes?
  2. How many arguments does the Writeline method of the Debug class have?
  3. How many arguments does the WritelineIf method of the Debug class have?
  4. Is Writeline overloaded?
  5. Is Writeline shared?