Namespaces

  1. If you import the System namespace, does that automatically import the System.IO namespace?
  2. We said StreamReader was in the System.IO namespace. Use the Help system to confirm that.
  3. What namespace is the class String in?
  4. Do we have to import the namespace containing String in order to use strings? Why or why not?

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.