Hour 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 interfaceeither way, you write Visual C# code to make your application perform tasks. In this hour, you'll learn how to create sets of code, how to create isolated code routines that can be executed (called methods), and how to invoke the methods you create.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net