Methods & Parameters

Complete this assessment with 100% score to master this chapter.

01Which access modifier makes a method visible only within the same assembly (project)?

02What is the requirement for an 'out' parameter in a method?

03What does the 'yield return' keyword do?

04How do you define an Extension Method?

05Which parameter modifier allows a method to accept any number of arguments of the same type?