C# 5.0 Pockeet Reference

所需积分/C币:1 2013-09-06 20:25:07 3.72MB PDF
收藏 收藏

很不错的一本小册子, 比较薄, 这样查询起来节省时间呀
C#50 Pocket reference C#5.0 Pocket reference Joseph albahari and ben albahari O'REILLY Beijing· Cambridge· Farnham·Koin: Sebastopol· Tokyo C#5.0 Pocket Reference by Joseph Albahari and Ben albahari Copyright o 2012 Joseph Albahari and Ben albahari. All rights reserved Printed in the United States of america Published by o'reilly Media, Inc, 1005 Gravenstein Highway North Sebastopol, CA 95472 O'Reilly books may be purchased for educational, business, or sales promo tionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safari booksonline. com). For more information, contact our corporate/institutional salesdepartment800-998-9938orcorporate@oreilly.com Editor: Rachel roumeliotis Copyeditor: Audrey Doyle Production Editor: Iris Febres Proofreader: Jasmine Perez Indexer: Angela Howard Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrator: Robert romano June 2012 First edition Revision History for the First Edition 2012-05-25 First release Seehttp://oreilly.com/catalog/errata.csp?isbn=9781449320171forreleasede- Nutshell Handbook, the Nutshell Handbook logo, and the O Reilly logo are registered trademarks of O'Reilly Media, Inc. C# 5.0 Pocket Reference, the image of an African crowned crane, and related trade dress are trademark of O'Reilly Media, Inc Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc, was aware of a trademark claim, the designations have been printed in caps or initial caps While every precaution has been taken in the preparation of this book, the publisher and autho s assume ho re esponsibility for errors or omissions, or for damages resulting from the use of the information contained herein ISBN:978-1-449-32017-1 1337976996 Contents 〔#50 Pocket reference Conventions used in this book Using〔 ode examples 1223 Safari books online How to Contact us A First C# Program Syntax 448 Type basics Numeric types Boolean type and operators Strings and Characters Ar ays 07926 Variables and parameters Expressions and Operators Statements Namespaces Classes Inheritance The object Type Structs Access modifiers 5079846 Interfaces Enums Nested Types Generics 93 Delegates Ever 108 Lambda expressions 113 Anonymous Methods 117 try statements and exceptions 118 Enumeration and iterators 126 Nullable types 132 Operator Overloading 136 Extension Methods 139 Anonymous Types LINQ Dynamic Binding Attributes 175 Caller Info attributes c#5.0) 178 Asynchronous Functions( C# 5.0 Unsafe code and pointers Preprocessor Directives Ⅹ ML DoCumentation 196 Index 203 vi Table of Contents C#5.0 Pocket reference C# is a general-purpose, type-safe, object-oriented programming language The goal of the language is program mer productivity. To this end, the language balances simplicity, expressiveness, and performance. The C# language is platform-neutral, but it was written to work well with the Microsoft. NET Framework. C# 5.0 targets. NET Framework 4.5 NOTE The programs and code snippets in this book mirror those in Chapters 2 through 4 of C# 5.0 in a Nutshell and are all available as interactive samples in LiNQPad Working through these samples in conjunction with the book accelerates learning in that you can edit the samples and instantly see the results without needing to set up projects and solutions in Visual Studio To download the samples, click the Samples tab in LINQPad and click"Download more samples LinqPaDisfree--gotohttp://www.lingpad.net Conventions Used in this book The following typographical conventions are used in this book Italic Indicates new terms. URLS, email addresses. filenames and file extensions Constant width Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names,databases, data types, environment variables, statements,and keywords Constant width bold Shows commands or other text that should be typed literally by the user Constant width italic Shows text that should be replaced with user-supplied values or by values determined by context TIP This icon signifies a tip, suggestion, or general note CAUTION This icon indicates a warning or caution Using Code Examples This book is here to help you get yourjob done. In general, you may use the ne code in this book in your programs and documentation You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distrib uting a CD-ROM of examples from O'Reilly books does re- 2 C#5.0 Pocket Reference

试读 127P C# 5.0 Pockeet Reference
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    关注 私信 TA的资源
    C# 5.0 Pockeet Reference 1积分/C币 立即下载
    C# 5.0 Pockeet Reference第1页
    C# 5.0 Pockeet Reference第2页
    C# 5.0 Pockeet Reference第3页
    C# 5.0 Pockeet Reference第4页
    C# 5.0 Pockeet Reference第5页
    C# 5.0 Pockeet Reference第6页
    C# 5.0 Pockeet Reference第7页
    C# 5.0 Pockeet Reference第8页
    C# 5.0 Pockeet Reference第9页
    C# 5.0 Pockeet Reference第10页
    C# 5.0 Pockeet Reference第11页
    C# 5.0 Pockeet Reference第12页
    C# 5.0 Pockeet Reference第13页
    C# 5.0 Pockeet Reference第14页
    C# 5.0 Pockeet Reference第15页
    C# 5.0 Pockeet Reference第16页
    C# 5.0 Pockeet Reference第17页
    C# 5.0 Pockeet Reference第18页
    C# 5.0 Pockeet Reference第19页
    C# 5.0 Pockeet Reference第20页


    1积分/C币 立即下载 >