A logical, straightforward approach to learning the C#
language
C# is a complicated programming language for building
.NET-connected software for Microsoft Windows, the Web, and a wide
range of devices. The friendly All-in-One For Dummies format
is a perfect way to present it. Each minibook is a self-contained
package of necessary information, making it easy to find what
you’re looking for.
Upgrades in C# 2010 include the ability to build Windows 7
applications and compatibility with Python and Ruby.
* C# is a somewhat complex programming language for building
.NET-connected software for Microsoft Windows, the Web, and other
devices
* Beginning C# programmers will appreciate how the All-in-One
format breaks the topic into minibooks, each one addressing a key
body of information
* Minibooks include creating your first C# program, Windows 7
programming, basic C# programming, object-based programming,
object-oriented programming, Windows programming with C# and Visual
Studio, and debugging
* Companion Web site includes all sample code
Beginning C# programmers will find C# 2010 All-in-One For
Dummies explains a complicated topic in an easy, understandable
way.
Note: CD-ROM/DVD and other supplementary materials are
not included as part of e Book file.
สารบัญ
Introduction 1
Book I: Basics of C# Programming 9
Chapter 1: Creating Your First C# Console Application 11
Chapter 2: Living with Variability — Declaring Value-Type Variables 25
Chapter 3: Pulling Strings 45
Chapter 4: Smooth Operators 73
Chapter 5: Getting Into the Program Flow 85
Chapter 6: Lining Up Your Ducks with Collections 109
Chapter 7: Stepping through Collections 135
Chapter 8: Buying Generic 169
Chapter 9: Some Exceptional Exceptions 187
Book II: Object-Oriented C# Programming 205
Chapter 1: Object-Oriented Programming: What’s It All About? 207
Chapter 2: Showing Some Class 215
Chapter 3: We Have Our Methods 227
Chapter 4: Let Me Say This about this 247
Chapter 5: Holding a Class Responsible 261
Chapter 6: Inheritance: Is That All I Get? 285
Chapter 7: Poly-what-ism? 307
Chapter 8: Interfacing with the Interface 333
Chapter 9: Delegating Those Important Events 357
Chapter 10: Can I Use Your Namespace in the Library? 377
Book III: Designing for C# 399
Chapter 1: Writing Secure Code 401
Chapter 2: Accessing Data 415
Chapter 3: Fishing the File Stream 435
Chapter 4: Accessing the Internet 455
Chapter 5: Creating Images 469
Book IV: A Tour of Visual Studio 479
Chapter 1: Getting Started with Visual Studio 481
Chapter 2: Using the Interface 495
Chapter 3: Customizing Visual Studio 517
Chapter 4: Transforming Text Templates 533
Book V: Windows Development with WPF 543
Chapter 1: Introducing WPF 545
Chapter 2: Understanding the Basics of WPF 555
Chapter 3: Data Binding in WPF 579
Chapter 4: Practical WPF 601
Book VI: Web Development with ASP.NET 627
Chapter 1: Looking at How ASP.NET Works with C# 629
Chapter 2: Building Web Applications 641
Chapter 3: Controlling Your Development Experience 659
Chapter 4: Leveraging the .NET Framework 685
Chapter 5: Digging into Web Construction 703
Book VII: Service-Oriented Development 717
Chapter 1: Getting Acquainted with Web Services 719
Chapter 2: Building Web Services with ASMX 731
Chapter 3: Building Web Services with WCF 745
Chapter 4: Building Web Services with Re ST 759
Book VIII: New Features in C# 4.0 767
Chapter 1: Programming Dynamically! 769
Chapter 2: Improving Productivity with Named and Optional Parameters 781
Chapter 3: Helping Out with Interop 789
Chapter 4: Revising Generics 795
Index 799
เกี่ยวกับผู้แต่ง
Bill Sempf is a seasoned programmer and .NET evangelist specializing in .NET applications. Chuck Sphar is a programmer and former senior technical writer for the Visual C++ product group at Microsoft. Stephen Randy Davis is the bestselling author of several books, including C++ For Dummies.