C# 4.0 编程指南:第六版

需积分: 10 3 下载量 22 浏览量 更新于2024-06-11 1 收藏 6.55MB PDF 举报
C# 4.0 编程第六版 C# 是一种现代的、面向对象的编程语言,由 Microsoft 开发。它的设计目标是提供一种能够在 .NET Framework 下运行的高效、可靠的语言。C# 语言是从 C++ 和 Java 语言中借鉴了一些语法特性,且具有简洁、现代化的设计理念。 C# 语言的主要特点有: 1. Modern Design:C# 语言的设计理念是现代化的,具有简洁的语法结构和强大的功能。 2. Object-Oriented:C# 语言是一种面向对象的语言,支持继承、多态和封装等面向对象的编程概念。 3. Type Safety:C# 语言具有类型安全性,能够在编译时检查类型错误,确保程序的可靠性。 4. Garbage Collection:C# 语言具有垃圾回收机制,能够自动管理内存,减少内存泄露的风险。 5. Multithreading:C# 语言支持多线程编程,能够充分利用多核处理器的性能。 C# 语言的应用场景非常广泛,包括: 1. Windows 应用程序开发:C# 语言可以用来开发 Windows桌面应用程序、Windows Store 应用程序和 Windows Phone 应用程序。 2. Web 应用程序开发:C# 语言可以用来开发 ASP.NET 网站、Web 服务和 Web API。 3. 移动应用程序开发:C# 语言可以用来开发 Xamarin.iOS、Xamarin.Android 和 Xamarin.Forms 应用程序。 4. 游戏开发:C# 语言可以用来开发使用 Unity 游戏引擎的游戏。 本书《C# 4.0 编程第六版》是 C# 语言的权威指南,覆盖了 C# 语言的所有方面,包括语言基础、面向对象编程、委托、事件、多线程编程、泛型编程、Lambda 表达式、 LINQ 查询、异步编程等。书中还提供了大量的示例代码和实践项目,帮助读者快速掌握 C# 语言。 本书的作者 Ian Griffiths、Matthew Adams 和 Jesse Liberty 都是经验丰富的软件开发专家,拥有多年的开发经验。他们在书中分享了他们的经验和知识,帮助读者快速掌握 C# 语言。 《C# 4.0 编程第六版》是 C# 语言学习的必备指南,适合所有 levels 的开发者,从初学者到经验丰富的开发专家。
2012-12-22 上传
中文名: C#4.0编程 (第6版,涵盖Visual Studio 2010以及.NET4) 原名: Programming C# 4.0: Building Windows, Web, and RIA Applications for the .NET 4.0 Framework 作者: Ian Griffiths Matthew Adams Jesse Liberty 资源格式: PDF 版本: 英文文字版/更新源代码 出版社: O'Reilly书号: 978-0-596-15983-2发行时间: 2010年08月 地区: 美国 语言: 英文 简介: 内容介绍: With its support for dynamic programming, C# 4.0 continues to evolve as a versatile language on its own. But when C# is used with .NET Framework 4, the combination is incredibly powerful. This bestselling tutorial shows you how to build web, desktop, and rich Internet applications using C# 4.0 with .NET's database capabilities, UI framework (WPF), extensive communication services (WCF), and more. In this sixth edition, .NET experts Ian Griffiths, Matthew Adams, and Jesse Liberty cover the latest enhancements to C#, as well as the fundamentals of both the language and framework. You'll learn concurrent programming with C# 4.0, and how to use .NET tools such as the Entity Framework for easier data access, and the Silverlight platform for browser-based RIA development. 目录: Chapter 1 Introducing C# Chapter 2 Basic Programming Techniques Chapter 3 Abstracting Ideas with Classes and Structs Chapter 4 Extensibility and Polymorphism Chapter 5 Composability and Extensibility with Delegates Chapter 6 Dealing with Errors Chapter 7 Arrays and Lists Chapter 8 LINQ Chapter 9 Collection Classes Chapter 10 Strings Chapter 11 Files and Streams Chapter 12 XML Chapter 13 Networking Chapter 14 Databases Chapter 15 Assemblies Chapter 16 Threads and Asynchronous Code Chapter 17 Attributes and Reflection Chapter 18 Dynamic Chapter 19 Interop with COM and Win32 Chapter 20 WPF and Silverlight Chapter 21 Programming ASP.NET Applications Chapter 22 Windows Forms