
Introduction to C# Using .NET
Robert J. Oberg(Author)
Prentice Hall (Publisher)
Published on 19. October 2001
Book
Paperback/Softback
480 pages
978-0-13-041801-2 (ISBN)
Description
This expert, real-world introduction to Microsoft C# shows developers how to make the most of the language's strong object orientation. Unlike many .NET language books, which attempt to cover both the language and .NET in equal measure, this book focuses exclusively on C# and its key interactions with the .NET framework. By concentrating on C#, it can offer far greater detail and many more practical examples than competitive books. Using a running case study, Robert Oberg walks through every stage of creating a complete system using C# and .NET. Along the way, Oberg explores several important interactions between C# and the .NET Framework, and presents detailed introductions to key classes for database integration, Web development, XML, and user interface programming. Introduction to C# Using .NET is one of a breakthrough series of focused guides to .NET written by expert practitioners and instructors. All books in the Oberg.Net Series teach in a systematic, step-by-step manner, using rich examples and a shared case study. They integrate perfectly: developers who complete this book can deepen their .NET development skills with the follow-up title, Application Development Using C# and .NET.
More details
Language
English
Place of publication
Upper Saddle River
United States
Publishing group
Pearson Education (US)
Target group
College/higher education
Dimensions
Height: 176 mm
Width: 233 mm
Thickness: 30 mm
Weight
735 gr
ISBN-13
978-0-13-041801-2 (9780130418012)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Person
DR. ROBERT J. OBERG is the founder and President of Object Innovations, a leading developer of integrated courseware on fundamental software technologies including Microsoft .NET, COM/DCOM/COM+, OLE, MFC, and Java. His books include Understanding and Programming COM+ (Prentice Hall PTR).
Content
(NOTE: Each chapter concludes with a Summary.)
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.
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.