Introduction to C# Using .NET

Robert J. Oberg

  • 出版商: Prentice Hall
  • 出版日期: 2001-10-19
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 0130418013
  • ISBN-13: 9780130418012
  • 相關分類: .NETC#
  • 已絕版

買這商品的人也買了...

相關主題

商品描述

C# hands-on. Your complete, step-by-step introduction to C# development for .NET.

  • Comprehensive, hands-on introduction to object-oriented programming in C#
  • Running case study: build a complete system using C# and .NET
  • Coverage of key .NET classes: collections, files, delegates, events, multiple threads, attributes, and Windows Forms

Part of the Integrated .NET Book Series from Object Innovations.

Want to get results with C#? Get the example-rich, hands-on introduction to the C# language itself: Introduction to C# Using .NET. Leading .NET trainer and developer Robert J. Oberg teaches C# step-by-step, with a comprehensive banking system case study, that walks you through building a complete system. Oberg introduces C#'s advanced object-oriented capabilities early — helping you make the most of them to create software with unprecedented efficiency and power.

  • In-depth introduction to C# object development — perfect for developers migrating from VB or COBOL
  • Introductory material is clearly delineated in the first section so that more experienced programmers can jump right in to the new features of C#
  • Covers the interactions between C# and the .NET Framework, giving developers a deep understanding of how .NET augments the features of the C# language
  • Thorough treatment of interfaces and components
  • Expert introduction to Windows Forms user interface programming
  • Practical coverage of inheritance techniques, collections, delegates, events, multiple threads, and attributes

Table of Contents

Preface.
Organization.
Sample Programs.
Exercises.
Website.
Acknowledgments.
About This Series.

I. INTRODUCTION TO .NET AND C#.

1. .NET Framework.

.NET: What You Need to Know. What Is Microsoft .NET? .NET Framework Overview. Common Language Runtime.


2. First C# Programs.

Hello, World. Program Structure. Namespaces. Variables and Expressions. Using C# As A Calculator. Input/Output in C#. The .NET Framework Class Library.


3. Visual Studio.NET.

Overview of Visual Studio.NET. Project Configurations.Debugging.

II. C# AS A LANGUAGE IN THE C FAMILY.


4. Simple Data Types.

Data Types. Integer Types. Floating-Point Types. Decimal Type. Character Type. Boolean Type. Conversions.


5. Operators and Expressions.

Operator Cardinality. Arithmetic Operators. Relational Operators. Conditional Logical Operators. Bitwise Operators. Assignment Operators. Expressions. Checked and Unchecked.


6. Control Structures.

If Tests. Loops. Preview of Arrays and Foreach. More About Control Flow. Switch Statement.

III. C# PROGRAMMING FUNDAMENTALS.


7. Object-Oriented Programming.

Objects. Classes. Polymorphism. Object-Oriented Languages. Components.


8. Classes.

Classes as Structured Data. Methods. Constructors and Initialization. Static Fields and Methods. Constant and Readonly Fields.


9. The C# Type System.

Overview of Types in C#. Value Types. Reference Types. Default Values. Boxing and Unboxing.


10. Methods, Properties, and Operators.

Methods. Parameter Passing. Method Overloading. Variable Length Parameter Lists. Properties. Operator Overloading.


11. Characters and Strings.

Characters. Strings. String Methods. String Builder Class. Programming with Strings.


12. Arrays and Indexers.

Arrays. System.Array. Random Number Generation. Jagged Arrays. Rectangular Arrays. Arrays as Collections. Bank Case Study: Step 1. Indexers.


13. Inheritance.

Inheritance Fundamentals. Access Control. Method Hiding. Initialization. Bank Case Study: Step 2.


14. Virtual Methods and Polymorphism.

Virtual Methods and Dynamic Binding. Method Overriding. Polymorphism. Abstract Classes. Sealed Classes. Heterogeneous Collections. Case Study: Step 3.


15. Formatting and Conversion.

ToString. Format Strings. String Formatting Methods. Bank Case Study: Step 4. Type Conversions.


16. Exceptions.

Exception Fundamentals. User-Defined Exception Classes. Structured Exception Handling. Bank Case Study: Step 5. Inner Exceptions.


17. Interfaces.

Interface Fundamentals. Programming with Interfaces. Dynamic Use of Interfaces. Bank Case Study: Step 6. Resolving Ambiguity.

IV. C# AND THE .NET FRAMEWORK.


18. Interfaces and the .NET Framework.

Collections. Bank Case Study: Step 7. Copy Semantics and Icloneable. Comparing Objects. Understanding Frameworks.


19. Delegates and Events.

Delegates. Stock Market Simulation. Events.


20. Advanced Features.

Directories and Files. Multiple Thread Programming. Attributes. Custom Attributes. Reflection. Unsafe Code.


21. Components and Assemblies.

Building Components Using .NET SDK. Assemblies. Multiple Language Applications. Building Components Using Visual Studio.NET. Bank Case Study: Componentized Version. Interoperating with COM.


22. Introduction to Windows Forms.

Windows Forms. Simple Forms Using .NET SDK. Windows Forms Event Handling. Menus. Next Steps in Windows Forms and .NET.


Appendix A: Learning Resources.
Index.