Chapter 10. Creating and Calling Methods

What You’ll Learn in This Hour:

  • Creating methods

  • Calling methods

  • Exiting methods

  • Passing parameters

  • Avoiding recursive methods

  • Working with tasks

You’ve now spent about nine hours building the basic skills necessary to navigate Visual C# 2005 and to create an application interface. Creating a good interface is important, but it’s only one of many steps toward creating a Windows program. After you’ve created the basic interface of an application, you need to enable the program to do something. The program might perform an action all on its own, or it might perform actions based on a user interacting with the interface—either way, you write Visual C# code to make your application perform tasks. In this hour, you’ll ...

Get Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.