Test: First Web Program (Web Project) in C# Explained
5. Which of the following namespace inclusions would you see in a C# program in a code-behind file for a web page? (Choose all that apply)
Congratulations! Correct Answer.
You Answered: None. If you took the test, your answer will show up here.
Correct Answer: using System;; using System.Web;; using System.Web.UI;; using System.Web.UI.WebControls;;
ExplanationThe System namespace in the .NET Framework provides the basic functionality that C# (and other .NET programming languages) use. The System.Web.* namespaces contain the web related functionality. So, you would see these and many other namespaces from the .NET Framework included in a C# code-behind file for a given web page.
Take the TestTake the complete test on this topic. You will be able to review answers to questions and get a test score.
Take the Test
Question 5 of 5