分类:编程开发
语言:简体中文
大小:未知
发布时间:12-07-01
目录:
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi1. Introducing C# and the .NET Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Object Orientation 1Type Safety 2Memory Management 2Platform Support 3C#’s Relationship with the CLR 3The CLR and .NET Framework 3C# and Windows Runtime 5What’s New in C# 5.0 6What’s New in C# 4.0 6What’s New in C# 3.0 72. C# Language Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9A First C# Program 9Syntax 12Type Basics 15Numeric Types 23Boolean Type and Operators 30Strings and Characters 32Arrays 34Variables and Parameters 38Expressions and Operators 47Statements 51Namespaces 59 内容简介:C#(C Sharp)是微软为 .NET Framework量身订做的程序语言,微软公司在2000年6月发布的一种新的编程语言。C#拥有C/C++的强大功能以及Visual Basic简易使用的特性,是第一个组件导向(Component-oriented)的程序语言,和C++与Java一样亦为对象导向(object-oriented)程序语言。When you have a question about C# 5.0 or the .NET CLR, this bestselling guide has precisely the answers you need. Uniquely organized around concepts and use cases, this updated fifth edition features a reorganized section on concurrency, threading, and parallel programming—including in-depth coverage of C# 5.0’s new asynchronous functions.Shaped by more than 20 expert reviewers, including Microsoft’s Eric Lippert, Stephen Toub, Chris Burrows, and Jon Skeet, this book has all you need to stay on track with C# 5.0. It’s widely known as the definitive reference on the language. 1. Get up to speed on C# language basics, including syntax, types, and variables 2. Explore advanced topics such as unsafe code and type variance 3. Dig deep into LINQ via three chapters dedicated to the topic 4. Learn about code contracts, dynamic programming, and parallel programming 5. Work with .NET features, including reflection, assemblies, memory management, security, I/O, XML, collections, networking, and native interoperability 内容截图:
...