Skip to content
This repository was archived by the owner on Nov 28, 2019. It is now read-only.
This repository was archived by the owner on Nov 28, 2019. It is now read-only.

Defining and Calling Methods #10

@ardalis

Description

@ardalis
  • General structure of a method
  • Naming guidelines (briefly)
  • static or not?
  • Don't get into scope and accessibility (public, protected, etc.) here, or virtual - those are covered later
  • void vs. return types
  • What happens in the calling code if a parameter is modified within a method?
  • out parameters
  • optional parameters
  • default parameters
  • params arrays
  • overloads

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions