---
id: 647e224b8acb466c97ccbeef
title: Create C# Methods with Parameters
challengeType: 19
dashedName: create-c-sharp-methods-with-parameters
---

# --description--

This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:

1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-parameters/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-parameters/</a> and complete all the tasks for the "Create C# Methods with Parameters" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.

# --question--

## --text--

Given the method signature, `void Print(string name, string number = "", bool member = false)`, which of the following options correctly uses named and optional arguments?

## --answers--

`Print("Tony", member: true);`

---

`Print(number: "555", member: false)`

---

`Print("Tony", false)`

## --video-solution--

1
