精通C# 5.0与.NET 4.5框架:第六版

需积分: 49 31 下载量 72 浏览量 更新于2024-07-21 6 收藏 22.81MB PDF 举报
"Pro C# 5.0 and the .NET 4.5 Framework (6th Edition) 是一本专为熟练掌握C#编程和.NET框架的开发者编写的书籍,由世界知名的C#专家Andrew Troelsen撰写。这本书详尽阐述了C#编程语言和.NET 4.5框架的核心内容,涵盖C#的基础到高级编程结构、面向对象编程、.NET程序集的使用、.NET基础类库,以及WPF和ASP.NET Web Forms的应用。作为第6版,它对C# 5.0和.NET 4.5的新特性和最佳实践进行了全面更新,旨在帮助开发者适应最新的编程环境和技术变革。Andrew Troelsen不仅是微软C# MVP,还是Intertech公司的合伙人和副总裁,他在微软技术咨询和教育领域有着丰富的经验和权威地位,同时他也是多部.NET技术畅销书的作者。" 本书的特点和内容亮点包括: 1. **C#和.NET平台**:介绍C#语言的基础,包括语法、变量、控制流、异常处理等,同时讲解.NET框架的基础架构,如CLR(Common Language Runtime)和CLS(Common Language Specification)。 2. **C#核心编程结构**:深入探讨类、对象、接口、委托、事件等面向对象编程的关键概念,以及LINQ(Language Integrated Query)和Lambda表达式等现代C#特性。 3. **C#面向对象编程**:详细讲解继承、多态、访问修饰符等OOP原则,以及泛型和匿名类型的应用。 4. **高级C#编程结构**:涵盖异步编程(如async/await关键字)、动态类型、元数据和反射,以及泛型集合和集合操作。 5. **用.NET程序集编程**:介绍程序集的结构、版本控制、安全性和部署,以及GAC(全局程序集缓存)的使用。 6. **.NET基础类库**:讲解.NET Framework提供的各种类库,包括System.Collections、System.IO、System.Net和System.Threading等,以及如何利用这些类库进行日常开发。 7. **WPF和ASP.NET Web Forms**:针对UI开发,详细阐述Windows Presentation Foundation(WPF)的XAML语法、布局系统和数据绑定,以及ASP.NET Web Forms的页面生命周期和控件模型。 8. **最新技术和实践**:重点介绍C# 5.0和.NET 4.5的新特性,如异步编程模型、改进的多线程支持、更强大的类型系统和性能优化。 此外,这本书还包含了许多实战案例和代码示例,帮助读者将理论知识转化为实际开发技能。通过阅读本书,开发者不仅能提升C#编程的技能,还能了解.NET生态系统的深度和广度,为成为专业.NET开发者打下坚实基础。
2016-01-06 上传
This new 7th edition of Pro C# 6.0 and the .NET 4.6 Platform has been completely revised and rewritten to reflect the latest changes to the C# language specification and new advances in the .NET Framework. You'll find new chapters covering all the important new features that make .NET 4.6 the most comprehensive release yet, including:, A Refined ADO.NET Entity Framework Programming ModelNumerous IDE and MVVM Enhancements for WPF Desktop DevelopmentNumerous updates to the ASP.NET Web APIs, This comes on top of award winning coverage of core C# features, both old and new, that have made the previous editions of this book so popular. Readers will gain a solid foundation of object-oriented development techniques, attributes and reflection, generics and collections as well as numerous advanced topics not found in other texts (such as CIL opcodes and emitting dynamic assemblies)., The mission of this book is to provide you with a comprehensive foundation in the C# programming language and the core aspects of the .NET platform plus overviews of technologies built on top of C# and .NET (ADO.NET and Entity Framework, Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), ASP.NET (WebForms, MVC, WebAPI).). Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore the .NET universe on your own terms., What You Will Learn:, Be the first to understand the .NET 4.6 platform and C# 6.Discover the ins and outs of the leading .NET technology.Learn from an award-winning author who has been teaching the .NET world since version 1.0.Find complete coverage of XAML, .NET 4.6 and Visual Studio 2015 together with discussion of the new Windows Runtime.