Multiple choice technology programming languages

C# allows you to define static methods that use generic type parameters

  1. True

  2. False

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

C# does allow static methods to use generic type parameters. The type parameter can be defined at the class level (all methods share it) or at the method level (only that method uses it). Static methods can both access class-level type parameters and define their own method-specific type parameters.