tailieunhanh - Module 7: Strings, Arrays, and Collections

Discuss the IList interface with regards to classes that represent an ordered collection of objects that can be individually indexed. Use the ArrayList demonstration to reinforce this concept. Discuss the IDictionary interface and the classes that it implements. Use the Hashtable demonstration to show how to use the IDictionary interface. Provide guidelines to help students distinguish between collections and arrays, and explain when collections are used. Discuss runtime casting for type safety and the effects of runtime casting, and boxing and unboxing on performance. Discuss techniques for handling boxing and unboxing to optimize performance | msdn training Module 7 Strings Arrays and Collections Contents Overview 1 Strings 2 Terminology - Collections 20 .NET Framework Arrays 21 .NET Framework Collections 39 Lab 7 Working with Strings Enumerators and Collections 57 Review 63 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 place or event 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 ActiveX BizTalk IntelliMirror Jscript MSDN MS-DOS MSN PowerPoint Visual Basic Visual C Visual C Visual Studio Win32 Windows Windows Media and Window NT are either registered trademarks or trademarks of Microsoft Corporation in the . and or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Module 7 Strings Arrays and Collections iii Instructor Notes Presentation After completing this module students will be able to

TỪ KHÓA LIÊN QUAN