O'Reilly logo

Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit by James Foxall

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 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 ...

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