DEV Community

Cover image for Method Usage in C#: Detailed Guide

Method Usage in C#: Detailed Guide

ByteHide on January 05, 2024

Have you ever pondered over the term “method” in C# programming or got tangled up between function and method? If yes, rest easy, because we’ve got...
Collapse
 
mellen profile image
Matt Ellen

All methods are functions.

Methods are functions that are part of an object.

Functions can return void.

Collapse
 
ant_f_dev profile image
Anthony Fung

Definitely helpful to document methods - they're also used by Intellisense to provide documentation in the IDE while coding.