Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Microsoft Visual C# 2015 An Introduction to Object-Oriented Programming
Quiz 7: Using Methods
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Essay
What are the components of a C# method declaration?
Question 22
Matching
Match each item with a statement below:
Premises:
Responses:
Receives a copy of the value passed to it
parameter list
Optionally present within parentheses after the method name in a method declaration
value parameter
Can only be used in conjunction with an object
fully qualified name
Premises:
Receives a copy of the value passed to it
Optionally present within parentheses after the method name in a method declaration
Can only be used in conjunction with an object
Responses:
parameter list
value parameter
fully qualified name
Question 23
Essay
What are the components of a C# method?
Question 24
Short Answer
Every method has a(n) ____________________, indicating what kind of value the method will return to any other method that calls it.
Question 25
Multiple Choice
You indicate that a method parameter is an array by placing ____ after the data type in the method's parameter list.
Question 26
Essay
The keyword static is used with Main() methods in console applications because the method is associated with its containing class and not with an object. Why are Form methods, such as a Click() method that responds to button clicks, nonstatic?