# Method

A named block of code that performs an action and can return a value.

## What is **Method** in C#?

**Method** — A named block of code that performs an action and can return a value.

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/novice)

Updated: September 27, 2026

## In other subjects

- [Method in Java](https://www.ask-codey.com/glossary/method-java)
- [Method in JavaScript](https://www.ask-codey.com/glossary/method-javascript)
- [Method in OOP](https://www.ask-codey.com/glossary/method-oop)

Source: https://www.ask-codey.com/glossary/method-c-sharp
