Book description
Using his famous primer format, best-selling author Stan Lippman now brings you an indispensable guide to C#. C# PRIMER is a comprehensive, example-driven introduction to this new object-oriented programming language.
C# is a cornerstone of Microsoft's new .NET platform. Inheriting many features from both Java™ and C++, C# is destined to become the high-level programming language of choice for building high-performance Windows® and Web applications and components--from XML-based Web services to middle-tier business objects and system-level applications.
HIGHLIGHTS INCLUDE:
Coverage of fundamentals, such as namespaces, exception handling, and the unified type system
Detailed explanations and examples of both class and interface inheritance, including a discussion of when each is appropriate
A wide-ranging tour of the .NET class library, including an introduction to ADO.NET, establishing database connections, regular expressions, threading, sockets programming, XML programming using the firehose and DOM parser models, XSLT, and XPATH
Detailed discussion of ASP.NET Web Form Designer, walking through the page life cycle and caching, and providing a large number of examples
Introduction to .NET Common Language Runtime (CLR)
Adding C# to your toolbox will not only improve your Web-based programming ability, it will increase your productivity. C# PRIMER provides a solid foundation to build upon and a refreshingly unbiased voice on Microsoft's vehicle to effective and efficient Web-based programming.
0201729555B07102002
Table of contents
- Copyright
- Preface
-
Hello, C#
- A First C# Program
- Namespaces
- Alternative Forms of the Main() Function
- Making a Statement
- Opening a Text File for Reading and Writing
- Formatting Output
- The string Type
- Local Objects
- Value and Reference Types
- The C# Array
- The new Expression
- Garbage Collection
- Dynamic Arrays: The ArrayList Collection Class
- The Unified Type System
- Jagged Arrays
- The Hashtable Container
- Exception Handling
- A Basic Language Handbook for C#
-
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
- Variable-Length Parameter Lists
- Operator Overloading
- Conversion Operators
- The Class Destructor
- The struct Value Type
-
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
- Defining a Derived Class
- Overriding the Inherited Virtual Interface
- Overriding the Virtual Object Methods
- Member Access: The new and base Modifiers
- Sealing a Class
- The Exception Class Hierarchy
-
Interface Inheritance
- Implementing a System Interface: IComparable
- Accessing an Existing Interface
- Defining an Interface
- Explicit Interface Member Implementations
- Inherited Interface Members
- Overloaded, Hidden, or Ambiguous?
- Mastering Copy Semantics: ICloneable
- Mastering Finalize Semantics: IDisposable
- BitVectorx: Extension through Composition
- Exploring the System Namespace
-
Windows Forms Designer
- Our First Windows Forms Program
- Building the GUI
- Implementing the Event Callback Routines
- Inspecting and Generating Control Events
- Implementing the MessageBox Pop-Up Dialog
- The List Box for Unformatted Output
- Exploring the File Dialog
- A Pocketful of Buttons
- Serving Up Menus
- The DataGrid Control
- Adding a PictureBox Control
-
ASP.NET and Web Forms Designer
- Our First Web Forms Program
- Opening an ASP.NET Web Application Project
- Adding 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
- 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 Control
- Adding Validators to a Control
- Adding a Calendar Control
- Adding an Image Control
- Programming Web Server Controls
- The Common Language Runtime
- Index
Product information
- Title: C# Primer: A Practical Approach
- Author(s):
- Release date: December 2001
- Publisher(s): Addison-Wesley Professional
- ISBN: 0201729555
You might also like
book
C# 4.0 Unleashed
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform …
book
.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
Edited by a Lead Program Manager on Microsoft's .NET Framework team, is the definitive reference for …
book
Pro C# 2010 and the .NET 4 Platform, Fifth Edition
The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. …
book
Professional C# 2012 and .NET 4.5
Intermediate to advanced technique coverage, updated for C# 2012 and .NET 4.5 This guide is geared …