---
id: 647e226a8acb466c97ccbef1
title: Write Your First C# Method
challengeType: 19
dashedName: write-your-first-c-sharp-method
---

# --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/write-first-c-sharp-method/" target="_blank">https://learn.microsoft.com/en-us/training/modules/write-first-c-sharp-method/</a> and complete all the tasks for the "Write Your First C# Method" 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--

Which of the following correctly declares a method?

## --answers--

`DisplayNumbers();`

---

`void DisplayNumbers{};`

---

`void DisplayNumbers() { }`

## --video-solution--

3
