A method is a named block you can call as often as you like. You have been using one all along: Main.
Program.cs
using System;
class Program
{
static void Greet()
{
Console.WriteLine("Hello!");
}
static void Main()
{
Greet();
Greet();
}
}
Output
Hello! Hello!
void means it returns nothing — it just does something. Empty parentheses mean it needs nothing from you.