没有合适的资源?快使用搜索试试~ 我知道了~
C# 6.0 in a Nutshell(O'Reilly,2015)
4星 · 超过85%的资源 需积分: 50 52 下载量 98 浏览量
2015-11-13
05:33:57
上传
评论 1
收藏 11.62MB PDF 举报
温馨提示
When you have questions about C# 6.0 or the .NET CLR and its core Framework assemblies, this bestselling guide has the answers you need. C# has become a language of unusual flexibility and breadth since its premiere in 2000, but this continual growth means there's still much more to learn. Organized around concepts and use cases, this thoroughly updated sixth edition provides intermediate and advanced programmers with a concise map of C# and .NET knowledge. Dive in and discover why this Nutshell guide is considered the definitive reference on C#.
资源推荐
资源详情
资源评论
C#MICROSOFT .NET
C # 6.0 i n a Nu t s he l l
ISBN: 978-1-491-92706-9
US $59.99 CAN $68.99
“
C# 6.0 in a Nutshel l is
one of the few books
I keep on my desk as
a quick reference.
”
—Scott Guthrie
Microsoft
“
Novices and experts
alike will find the latest
techniques in C#
programming here.
”
—Eric Lippert
C# MVP
Twitter: @oreillymedia
facebook.com/oreilly
When you have questions about C# 6.0 or the
.NET CLR and its core Framework assemblies, this
bestselling guide has the answers you need. C# has
become a language of unusual flexibility and breadth
since its premiere in 2000, but this continual growth
means there’s still much more to learn.
Organized around concepts and use cases,
this thoroughly updated sixth edition provides
intermediate and advanced programmers with a
concise map of C# and .NET knowledge. Dive in and
discover why this Nutshell guide is considered the
definitive reference on C#.
■ Get up to speed with all aspects of the
C# language, from the basics of syntax
and variables, to advanced topics such
as pointers and operator overloading
■ Dig deep into LINQ via three chapters
dedicated to the topic
■ Learn about dynamic, asynchronous, and
parallel programming
■ Work with .NET features, including XML,
networking, serialization, reection,
security, application domains, and code
contracts
■ Explore the new C# 6.0 compiler-as-a-
service, Roslyn
Joseph Albahari, author of C#
5.0 in a Nutshell, C# 5.0 Pocket
Reference, and LINQ Pocket
Reference, also wrote LINQPad,
the popular code scratchpad and
LINQ querying utility..
Ben Albahari, a former program
manager at Microsoft, is cofounder
of Auditionist, a casting website
for actors in the UK.
www.it-ebooks.info
978-1-491-92706-9
[M]
C# 6.0 in a Nutshell
by Joseph Albahari and Ben Albahari
Copyright © 2016 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 promotional use. Online
editions are also available for most titles (http://safaribooksonline.com). For more information,
contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editor: Brian MacDonald
Production Editor: Kristen Brown
Proofreader: Amanda Kersey
Indexer: Angela Howard
Interior Designer: David Futato
Cover Designer: Karen Montgomery
Illustrator: Rebecca Demarest
December 2015: Sixth Edition
Revision History for the Sixth Edition
2015-11-03: First Release
See http://oreilly.com/catalog/errata.csp?isbn=9781491927069 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. C# 6.0 in a Nutshell, the
cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the authors have used good faith efforts to ensure that the informa‐
tion and instructions contained in this work are accurate, the publisher and the authors dis‐
claim all responsibility for errors or omissions, including without limitation responsibility for
damages resulting from the use of or reliance on this work. Use of the information and
instructions contained in this work is at your own risk. If any code samples or other technol‐
ogy this work contains or describes is subject to open source licenses or the intellectual prop‐
erty rights of others, it is your responsibility to ensure that your use thereof complies with
such licenses and/or rights.
www.it-ebooks.info
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1.
Introducing C# and the .NET Framework. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Object Orientation 1
Type Safety 2
Memory Management 3
Platform Support 3
C#’s Relationship with the CLR 3
The CLR and .NET Framework 3
C# and Windows Runtime 5
What’s New in C# 6.0 6
What Was New in C# 5.0 8
What Was New in C# 4.0 8
What Was New in C# 3.0 9
2.
C# Language Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
A First C# Program 11
Syntax 14
Type Basics 17
Numeric Types 26
Boolean Type and Operators 33
Strings and Characters 35
Arrays 38
Variables and Parameters 42
Expressions and Operators 51
Null Operators 55
Statements 56
Namespaces 65
3.
Creating Types in C#. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
iii
www.it-ebooks.info
剩余1132页未读,继续阅读
资源评论
- daijiyuan2015-11-30活到老,学到老!感谢楼主分享资源!
- 南宫轩辕2016-02-12活到老,学到老!感谢楼主分享资源!
vanridin
- 粉丝: 108
- 资源: 1187
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功