C# Primer Upplaga 1
Preface.
1. Hello, C.
A First C Program.
Namespaces.
Alternative Forms of the Main Function.
Making a Statement.
Opening a Text File for Read and Write.
Formatting Output.
The string Type.
Local Objects.
A Value and Reference Types.
The C Array.
The new expression.
Garbage Collection.
Dynamic Arrays: The ArrayList Collection Class.
The Unified Type System.
Shadow Boxing.
Unboxing Leaves Us Downcast.
Jagged Arrays.
The Hashtable Container.
Exception Handling.
A Basic Language Handbook.
Keywords.
Built-in Numeric Types.
Arithmetic, Relational, and Conditional Operators.
Operator Precedence.
Statements.
2. Class Design.
Our First Independent Class.
Opening a New Visual Studio Project.
Declaring Data Members.
Properties.
Indexers.
Member Initialization.
The Class Constructor.
The Implicit this Reference.
static Class Members.
const and readonly Data Members.
The enum Value Type.
The delegate Type.
Function Parameter Semantics.
Function Overloading.
Pass by Value.
Pass by Reference: The ref Parameter.
Pass by Reference: The out Parameter.
Variable-Length Parameter Lists.
Operator Overloading.
Conversion Operators.
The Class Destructor.
The struct Value Type.
3. Object-Oriented Programming.
Object-Oriented Programming Concepts.
Supporting a Polymorphic Query Language.
Designing a Class Hierarchy.
Object Lessons.
Designing an Abstract Base Class.
Declaring an Abstract Base Class.
Static Members of an Abstract Base Class.
A Hybrid Abstract Base Class.
The Single-Inheritance Object Model.
How Is a Hybrid Abstract Class Different?
Defining a Derived Class.
Overriding the Inherited Virtual Interface.
Overriding the Virtual Object Methods.
Member Access: The new and base Modifiers.
Accessibility versus Visibility.
Encapsulating Base-Class Access.
Sealing a Class.
The Exception Class Hierarchy.
4. Interface Inheritance.
Implementing a System Interface: IComparable.
Accessing an Existing Interface.
Defining an Interface.
Implementing Our Interface: Proof of Concept.
Integrating Our Interface within the System Framework.
Explicit Interface Member Implementations.
Inherited Interface Members.
Overloaded, Hidden, or Ambiguous?
Mastering Copy Semantics: Icloneable.
Mastering Finalize Semantics: Idisposable.
BitVector: Extension through Composition.
5. Exploring the System Namespace.
Supporting the Fundamental Types.
The Array Is a System.Array.
Querying the Environment.
The Environment Class.
Accessing All the Environment Variables.
The Process Class.
Finding the Logical Drives.
System.IO.
Handling File Extensions: The Path Class.
Manipulating Directories.
Manipulating Files.
Reading and Writing Files.
A System Miscellany.
The System.Collections.Stack Container.
The System.Diagnostics.TraceListener Class.
System.Math.
The DateTime Class.
Regular Expressions.
System.Threading.
The Web Request/Response Model.
System.Net.Sockets.
The Server-Side TcpListener.
The Client-Side TcpClient.
System.Data (ADO.NET).
The Database Tables.
Opening the Database: Selecting a Data Provider.
Navigating the DataTable.
Setting Up the DataRelation.
Selection and Expressions.
System.Xml.
Getting XML Out of Our Programs.
XmlTextReader: The Firehose.
Document Object Model.
System.Xml.Xsl.
System.Xml.Xpath.
6. Windows Forms Designer.
Our First Windows Forms Program.
Building the GUI.
Implementing the Event Callback Routines.
Implementing a TextBox Event.
Implementing the Button Events: OK.
Implementing the Button Events: Quit.
Inspecting and Generating Control Events.
Labels Are Programmable.
Implementing the MessageBox Popup Dialog.
The ListBox for Unformatted Output.
Exploring the File Dialog.
A Pocketful of Buttons.
Serving Up Menus.
The DataGrid Control.
Adding a PictureBox Control.
7. ASP.NET and Web Forms Designer.
Our First Web Forms Program.
Opening an ASP.NET Web Application Project.
Modifying the Document Properties.
Adding Controls to the Document: Label.
Adding Additional Pages to a Project.
The HyperLink Control: Linking to Other Pages.
The DataGrid Control.
Understanding the Page Event Life Cycle.
The Data Provider.
Web State Management.
Adding a TextBox Control.
Adding an ImageButton Control.
Adding a ListBox Control.
Managing State: Class Members.
Managing State: the Session Object.
Managing State: the Application Object.
Validation Controls.
Adding a DropDownList Control.
Adding a Group of RadioButton Controls.
Adding a CheckBoxList Controls.
Adding Validators to a Control.
Adding a Calendar Control.
Adding an Image Control.
Programming Web Server Controls.
8. The Common Language Runtime.
Assemblies.
Runtime Type Reflection.
Modifying the Retrieval through BindingFlags.
Invoking a Method during Runtime.
Delegating the Test to Reflection.
Attributes.
The Intrinsic Conditional Attribute.
The Intrinsic Serializable Attribute.
The Intrinsic Dllimport Attribute.
The Intrinsic Conditional Attribute.
The Intrinsic Serializable Attribute.
The Intrinsic Dllimport Attribute.
Implementing Our Own Attribute Class.
Positional and Named Parameters.
AttributeUsage.
Runtime Discovery of Attributes Using Reflection.
The Intermediate Language.
Examining the Intermediate Language.
The ildasm Tool.
Index. 0201729555T11292001
Upplaga: 1a upplagan
Utgiven: 2001
ISBN: 9780201729559
Förlag: Addison Wesley
Format: Häftad
Språk: Engelska
Sidor: 416 st
Preface.
1. Hello, C.
A First C Program.
Namespaces.
Alternative Forms of the Main Function.
Making a Statement.
Opening a Text File for Read and Write.
Formatting Output.
The string Type.
Local Objects.
A Value and Reference Types.
The C Array.
The new expression.
Garbage Collection.
Dynamic Arrays: The ArrayList Collection Class.
The Unified Type System.
Shadow Boxing.
Unboxing Leaves Us Downcast.
Jagged Arrays.
The Hashtable Container.
Exception Handling.
A Basic Language Handbook.
Keywords.
Built-in Numeric Types.
Arithmetic, Relational, and Conditional Operators.
Operator Precedence.
Statements.
2. Class Design.
Our First Independent Class.
Opening a New Visual Studio Project.
Declaring Data Members.
Properties.
Indexers.
Member Initialization.
The Class Constructor.
The Implicit this Reference.
static Class Members.
const and readonly Data Members.
The enum Value Type.
The delegate Type.
Function Parameter Semantics.
Function Overloading.
Pass by Value.
Pass by Reference: The ref Parameter.
Pass by Reference: The out Parameter.
Variable-Length Parameter Lists.
Operator Overloading.
Conversion Operators.
The Class Destructor.
The struct Value Type.
3. Object-Oriented Programming.
Object-Oriented Programming Concepts.
Supporting a Polymorphic Query Language.
Designing a Class Hierarchy.
Object Lessons.
Designing an Abstract Base Class.
Declaring an Abstract Base Class.
Static Members of an Abstract Base Class.
A Hybrid Abstract Base Class.
The Single-Inheritance Object Model.
How Is a Hybrid Abstract Class Different?
Defining a Derived Class.
Overriding the Inherited Virtual Interface.
Overriding the Virtual Object Methods.
Member Access: The new and base Modifiers.
Accessibility versus Visibility.
Encapsulating Base-Class Access.
Sealing a Class.
The Exception Class Hierarchy.
4. Interface Inheritance.
Implementing a System Interface: IComparable.
Accessing an Existing Interface.
Defining an Interface.
Implementing Our Interface: Proof of Concept.
Integrating Our Interface within the System Framework.
Explicit Interface Member Implementations.
Inherited Interface Members.
Overloaded, Hidden, or Ambiguous?
Mastering Copy Semantics: Icloneable.
Mastering Finalize Semantics: Idisposable.
BitVector: Extension through Composition.
5. Exploring the System Namespace.
Supporting the Fundamental Types.
The Array Is a System.Array.
Querying the Environment.
The Environment Class.
Accessing All the Environment Variables.
The Process Class.
Finding the Logical Drives.
System.IO.
Handling File Extensions: The Path Class.
Manipulating Directories.
Manipulating Files.
Reading and Writing Files.
A System Miscellany.
The System.Collections.Stack Container.
The System.Diagnostics.TraceListener Class.
System.Math.
The DateTime Class.
Regular Expressions.
System.Threading.
The Web Request/Response Model.
System.Net.Sockets.
The Server-Side TcpListener.
The Client-Side TcpClient.
System.Data (ADO.NET).
The Database Tables.
Opening the Database: Selecting a Data Provider.
Navigating the DataTable.
Setting Up the DataRelation.
Selection and Expressions.
System.Xml.
Getting XML Out of Our Programs.
XmlTextReader: The Firehose.
Document Object Model.
System.Xml.Xsl.
System.Xml.Xpath.
6. Windows Forms Designer.
Our First Windows Forms Program.
Building the GUI.
Implementing the Event Callback Routines.
Implementing a TextBox Event.
Implementing the Button Events: OK.
Implementing the Button Events: Quit.
Inspecting and Generating Control Events.
Labels Are Programmable.
Implementing the MessageBox Popup Dialog.
The ListBox for Unformatted Output.
Exploring the File Dialog.
A Pocketful of Buttons.
Serving Up Menus.
The DataGrid Control.
Adding a PictureBox Control.
7. ASP.NET and Web Forms Designer.
Our First Web Forms Program.
Opening an ASP.NET Web Application Project.
Modifying the Document Properties.
Adding Controls to the Document: Label.
Adding Additional Pages to a Project.
The HyperLink Control: Linking to Other Pages.
The DataGrid Control.
Understanding the Page Event Life Cycle.
The Data Provider.
Web State Management.
Adding a TextBox Control.
Adding an ImageButton Control.
Adding a ListBox Control.
Managing State: Class Members.
Managing State: the Session Object.
Managing State: the Application Object.
Validation Controls.
Adding a DropDownList Control.
Adding a Group of RadioButton Controls.
Adding a CheckBoxList Controls.
Adding Validators to a Control.
Adding a Calendar Control.
Adding an Image Control.
Programming Web Server Controls.
8. The Common Language Runtime.
Assemblies.
Runtime Type Reflection.
Modifying the Retrieval through BindingFlags.
Invoking a Method during Runtime.
Delegating the Test to Reflection.
Attributes.
The Intrinsic Conditional Attribute.
The Intrinsic Serializable Attribute.
The Intrinsic Dllimport Attribute.
The Intrinsic Conditional Attribute.
The Intrinsic Serializable Attribute.
The Intrinsic Dllimport Attribute.
Implementing Our Own Attribute Class.
Positional and Named Parameters.
AttributeUsage.
Runtime Discovery of Attributes Using Reflection.
The Intermediate Language.
Examining the Intermediate Language.
The ildasm Tool.
Index. 0201729555T11292001
Varje vecka tillkommer tusentals nya säljare. Bevaka boken så får du meddelande när den finns tillgänglig igen.