Multiple choice technology web technology

Controller’s action methods must be (Select multiple options)?

  1. Defined as public method

  2. Should not be static method

  3. Can have ref and out parameters

  4. Can have generic types

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Controller action methods must be public (to be accessible via HTTP), should not be static (instance methods are required for context and dependency injection), and can have ref and out parameters. They cannot use generic type parameters directly as part of the method signature in the action invocation context.