Multiple choice technology web technology

What is the use of the WebForm.aspx.cs file?

  1. Holds the HTML code for the form.

  2. Holds the control configuration for the form.

  3. Holds the C# code for the codebehind module.

  4. Holds the C# code that will be translated into HTML on the client.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The .aspx.cs file is the code-behind file that contains C# server-side logic for the Web Form. The .aspx file itself contains the HTML markup and control definitions. Options A and D are incorrect because HTML code lives in the .aspx file, not the .cs file.