Answers to Hour 11

1: What are the entities called that are used to house methods?
A1: Classes
2: True or False: To access methods in a class module, you must first create an object.
A2: False. Static methods do not require that an object be instantiated for the static methods to be called.
3: Data that has been passed into a method by a calling statement is called a
A3: Parameter
4: To pass multiple arguments to a method, separate them with a
A4: Comma
5: The situation in which a method or set of methods continue to call each other in a looping fashion is called
A5: Recursion
6: How do you attach a task to a code statement?
A6: Right-click the statement and choose Add Task List Shortcut from the context menu.

Get Sams Teach Yourself C#™ in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.