Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
This module explains how to use methods, parameters, and overloaded methods. It also explains that breaking program logic into functional units is good design and makes it easier to reuse code. The module begins with an explanation of what methods are, how they are created, and how they can be called. The module briefly describes private and public access modifiers (which are discussed more fully in later modules). The module concludes with an explanation of method overloading and the rules regarding method signatures | msdn training Module 5 Methods and Parameters Contents Overview 1 Using Methods 2 Using Parameters 16 Using Overloaded Methods 29 Lab 5.1 Creating and Using Methods 37 Review 48 Microsoft Information in this document including URL and other Internet Web site references is subject to change without notice. Unless otherwise noted the example companies organizations products domain names e-mail addresses logos people places and events depicted herein are fictitious and no association with any real company organization product domain name e-mail address logo person places or events is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright no part of this document may be reproduced stored in or introduced into a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise or for any purpose without the express written permission of Microsoft Corporation. Microsoft may have patents patent applications trademarks copyrights or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft the furnishing of this document does not give you any license to these patents trademarks copyrights or other intellectual property. 2001-2002 Microsoft Corporation. All rights reserved. Microsoft MS-DOS Windows Windows NT ActiveX BizTalk IntelliSense JScript MSDN PowerPoint SQL Server Visual Basic Visual C Visual C Visual J Visual Studio and Win32 are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Module 5 Methods and Parameters iii Instructor Notes Presentation This module explains how to use methods parameters and overloaded 60 Minutes methods. It also explains that breaking