Quiz Yourself: Additional Features

Test your knowledge of the C# programming language additional features.

Additional Features Quiz

1

(Select all that apply.) What are the requirements of an extension method?

A)

It must be static.

B)

It must be private.

C)

It must be defined inside a static class.

D)

The first parameter must be of the type we’re expanding, preceded by the this keyword.

E)

The first parameter must be of the type we’re expanding, preceded by the extends keyword.

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.