Visual C# 2005: A Developer's Notebook

E-Book Overview

In the three years since Microsoft made C# available, there have been lots of tweaks to the language. That's because C# is not only essential for making .NET work, it's a big way for Microsoft to attract millions of Java, C and C++ developers to the platform. And C# has definitely made some inroads. Because of its popularity among developers, the language received standardization from ECMA International, making it possible to port C# applications to other platforms. To bolster its appeal, C# 2.0 has undergone some key changes as part of Visual Studio 2005 that will make development with .NET quicker and easier.

That's precisely what Visual C# 2005: A Developer's Notebook allows you to do. There are some great new features in C# and this unique "all lab, no lecture" guide covers them all with 50 hands-on projects. Each project explores a new feature, with emphasis on changes that increase productivity, simplify programming tasks, and add functionality to applications.

C#'s component-based design combines the productivity of Microsoft's popular Visual Basic with the raw power of C++ for web-based applications. Many reviewers note a similarity between C# and Java--in fact, a new feature that took the Java development team five years to incorporate into Java is now available in C# 2.0. Called "generics", this feature enables developers to reuse and customize their existing code, so they can dramatically cut down the time it takes to develop new applications.

Visual C# 2005: A Developer's Notebook is full of no-nonsense code without the usual page-filling commentary. You'll find suggestions for further experimentation, links to on-line documentation, plus practical notes and warnings. The book also tells developers how to acquire, install and configure Visual Studio 2005. Are you a coder to the core? Learn what C# 2.0 can do for you now.


E-Book Content

Visual C# 2005: A Developer's Notebook By Jesse Liberty Publisher: O'Reilly Pub Date: April 2005 ISBN: 0-596-00799-X Pages: 239 • • • • • • Table of Content s Index Review Microsoft's C# language has attracted millions to .NET. Now, to make s development on this platform quicker and easier, C# 2.0 offers some key Reader changes as part of the upcoming Visual Studio 2005. The C# 2.0 beta is already Review available, and our unique "all lab, no lecture" guide offers 50 hands-on projects to s explore each new feature. Learn what C# 2.0 can do for you now. Errata Acade mic Visual C# 2005: A Developer's Notebook By Jesse Liberty • • • • • • Table of Content s Index Review s Reader Review s Errata Acade mic Publisher: O'Reilly Pub Date: April 2005 ISBN: 0-596-00799-X Pages: 239 Copyright The Developer's Notebook Series Notebooks Are... Notebooks Aren't... Organization Preface Who This Book Is For How This Book Is Organized Where Can I Learn More? What You Need to Use This Book Conventions Used in This Book Using Code Examples I'd Like to Hear from You Comments and Questions Safari Enabled Acknowledgments Dedication Chapter 1. C# 2.0 Section 1.1. Create a Type-Safe List Using a Generic Collection Section 1.2. Create Your Own Generic Collection Section 1.3. Implement the Collection Interfaces Section 1.4. Enumerate Using Generic Iterators Section 1.5. Implement GetEnumerator with Complex Data Structures Section 1.6. Simplify Your Code with Anonymous Methods Section 1.7. Hide Designer Code with Partial Types Section 1.8. Create Static Classes Section 1.9. Express Null Values with Nullable Types Section 1.10. Access Objects in the Global Namespace Section 1.11. Limit Access Within Properties Section 1.12. Gain Flexibility with Delegate Covariance and Contravariance Chapter 2. Visual Studio 2005 Section 2.1. Configure and Save Your Developer Environment Section 2.2. Configure Your Application
You might also like

Algorithms And Complexity
Authors: Herbert S. Wilf    123    0


Computer Graphics And Geometric Modeling. Mathematics
Authors: Max K. Agoston    166    0




A Practical Theory Of Programming
Authors: Eric C.R. Hehner    148    0


Beginning Python
Authors: Peter C. Norton , Alex Samuel , Dave Aitel , Eric Foster-Johnson , Leonard Richardson , Jason Diamond , Aleatha Parker , Michael Roberts    187    0


Webster's New World Telecom Dictionary
Authors: Ray Horak    157    0


Combinatorial Optimization: Networks And Matroids
Authors: Lawler E.L.    151    0


An Invariant Approach To Statistical Analysis Of Shapes
Authors: Subhash R. Lele , J. T. Richtsmeier    94    0


Tex, Xml, And Digital Typography: International Conference On Tex, Xml, And Digital Typography, Held Jointly With The 25th Annual Meeting Of The Tex Users Group, Tug 2004, Xanthi, Greece, August 30 - September 3, 2004. Proceedings
Authors: Christos K. K. Loverdos , Apostolos Syropoulos (auth.) , Apostolos Syropoulos , Karl Berry , Yannis Haralambous , Baden Hughes , Steven Peter , John Plaice (eds.)    92    0