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?


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.