In this article, you will learn about C# methods (functions), which form the behavior of your classes. C# does not have global functions, but it does have code encapsulation; you will learn how these and other Object Oriented Programming concepts and principles affect what you can do in C#.
More info