Question: Explain what a method is in C#?
In C#, a method is a block of code that performs a specific task and can be called to execute that task. Methods help organize code, promote reusability, and improve readability. Here are some key points about methods in C#: