Multiple choice technology programming languages

How do we assign page specific attributes?

  1. @Register directive.

  2. @Page directive.

  3. @control directive.

  4. All the above

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

The @Page directive is used in ASP.NET to define page-specific attributes like the programming language, master page file, or other configuration settings at the top of an .aspx file. @Register is used for registering user controls and custom tag prefixes, while @control is not a standard ASP.NET directive.