O'Reilly logo

Introducing Visual C# 2010 by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Methods

A method is a member that implements an action that can be performed by an object. In this chapter, we will explore C# methods and see how they form the essential core of a C# program. In short, without methods, there could be no C# programs, and understanding how to define and use methods is essential to becoming an effective and productive C# programmer.

This chapter is relatively long because methods are such an important topic and there are many language features that relate to their use. To make it easier to understand methods, I start with a quick tour of the basic features and then dig down into the detail of each. Toward the end of the chapter, I describe some special kinds of method, the most important of which is the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required