Cart
Free Shipping in the UK
Proud to be B-Corp

C# by Dissection Ira Pohl

C# by Dissection By Ira Pohl

C# by Dissection by Ira Pohl


£8.80
New RRP £58.99
Condition - Very Good
Only 1 left

Summary

Presents an introduction to the programming process by developing working programs to illuminate key features of the C# programming language. This book presents the concepts of the programming process using the dissection method. It is useful for first time computer users or for experienced programmers who are transitioning to C#.

C# by Dissection Summary

C# by Dissection: The Essentials of C# Programming: United States Edition by Ira Pohl

C# by Dissection presents a thorough introduction to the programming process by carefully developing working programs to illuminate key features of the C# programming language. C# is a modern, object-oriented language that enables programmers to quickly build a wide range of applications for the new Microsoft .NET platform, which allows them to be invoked across the Internet, from any language running on any operating system.

This book presents the concepts of the programming process using the dissection method. Dissection is a unique pedagogical tool first developed by the author to point out key features of program code. It is similar to a structured walk-through of the code, with the intention of explaining newly encountered programming elements and idioms as found in working code.

The book can be used by first time computer users or by experienced programmers who are transitioning to C#. Each chapter presents a number of carefully explained programs, which lead the reader in a holistic manner to ever-improving programming skills. Right from the start, the reader is introduced to complete programs, and at an early point in the book, the reader is introduced to writing functions as a major feature of structured programming.

Table of Contents

(Each chapter concludes with a Summary, Review Questions, and Exercises.)

1. Writing a C# Program.

Getting Ready to Program.

A First Program.

Problem Solving: Recipes.

Algorithms-Being Precise.

Implementing Our Algorithm in C#.

Writing and Running a C# Program.

Interrupting a Program.

Typing an End-of-File Signal.

Software Engineering: Style.

Dr. P's Prescriptions.

C# Compared with Java and C++.



2. Native Types.

Program Elements.

Comments.

Keywords.

Identifiers.

Literals.

Operators and Punctuators.

Console Input/Output.

Program Structure.

Redirection.

Simple Types.

Declaration and Initialization.

The Implicit Conversions.

The Explicit Conversions.

Enumeration Types.

Expressions.

Precedence and Associativity of Operators.

The Dot Operator name.name.

Relational, Equality, and Logical Operators.

Software Engineering: Debugging.

Dr. P's Prescriptions.

C# Compared with Java and C++.



3. Statements.

Assignment and Expressions.

The Statement Block.

The if and if-else Statements.

The while Statement.

The for Statement.

The do Statement.

The reak and continue Statements.

The switch Statement.

The goto Statement.

Software Engineering: Debugging.

Dr. P's Prescriptions.

C# Compared with Java and C++.



4. Methods: Functional Abstraction.

Method Invocation.

Static Method Definitions.

The return statement.

Scope of Variables.

Top-Down Design.

Problem Solving: Random Numbers.

A Simulation: Probability Calculations.

Invocation and Call-By-Value.

Call-By-Reference.

The out Parameter.

Recursion.

Problem Solving: Mathematical Methods.

Method Overloading.

Programming Style.

Software Engineering: Program Correctness.

Dr. P's Prescriptions.

C# Compared with C++ and Java.



5. Arrays.

One-Dimensional Arrays.

Indexing an Array Element.

Array Initialization.

Array Member Length.

An Example: Summing an Array.

Passing Arrays to Methods.

The System.Array.Copy() Method.

Finding the Minimum and Maximum of an Array.

The foreach statement.

Array Methods and Properties.

A Simple Sorting Method.

Searching an Ordered Array.

Recoding BinarySearch recursively.

Big-Oh: Choosing the Best Algorithm.

Type and Array.

Booleans: The Sieve of Eratosthenes

char:Counting characters with a buffer.

double:Overloading Accumulate().

Two-Dimensional Arrays.

Two-dimensional Initializer Lists.

Jagged Two-dimensional arrays.

An Elementary Simulation: The Game of Life.

The Game of Life: Design.

The Game of Life: Implementation.

Software Engineering.

Array loop idioms.

Counting from Zero.

Debugging and Testing Code.

Dr. P's Prescriptions.

C# Compared with Java and C++.



6. Classes and Abstract Data Types.

Type class , Operator dot, and new().

Member Access Operator.

INSTANCE Methods.

Access: Private and Public.

An Example: Customer.

Class Scope.

The dot Operator, namespaces and class names.

Nested Classes.

The standard class string.

An Example: Flushing.

The this Reference.

static Members.

const Members.

A Container Class Example: CharStack.

Properties AND DATA Hiding.

Software Engineering: Class Design.

Trade-Offs in Design.

Unified Modeling Language (UML) and Design.

Dr. P's Prescriptions.

C# Compared with Java and C++.



7. Constructors, Conversions, and Operator Overloading.

Classes with Constructors.

The Default Constructor.

Improving the Point Class.

Constructing a Stack.

The Copy Constructor.

Classes with Destructors.

Members That Are Class Types.

Polymorphism Using Method Overloading.

ADT Conversions.

Overloading and Signature Matching.

Overloading Operators.

Unary Operator Overloading.

Binary Operator Overloading.

Static Constructors.

Software Engineering: When to Use Overloading.

Dr. P's Prescriptions.

C# Compared with Java and C++.



8. Inheritance.

A Derived Class.

More Unified Modeling Language (UML).

A Student ISA Person.

virtual methods: Dynamic Determination.

Overloading and Overriding Confusion.

A Canonical Example: Class shape.

Abstract Base Classes.

Everyone's ancestor class Object.

Methods and boxing/unboxing.

Generic methods.

An Example: Predator-Prey simulation.

Interfaces.

Interface and Multiple Inheritance.

Odds and Ends.

Sealed Classes.

is and AS.

internal access.

Labeling derived methods new.

Software Engineering: Inheritance and Design.

Dr. P's Prescriptions.

C# Compared with Java and C++.



9. Input/Output.

Console Output.

Formatted Output.

User-Defined Types: Output and Format().

ToString overriding.

Creating a user defined format.

Console Input.

StandARd Methods for characters.

Console Input for an Array.

Files.

Text Files.

Example: A word count program.

Network IO.

Software Engineering: I/O.

Dr. P's Prescriptions.

C# Compared with Java and C++.



10. Exceptions and Program Correctness.

Using the Assert()method.

C# Exceptions.

Throwing Exceptions.

Rethrown Exceptions.

Exception Expressions.

Exception Object Standard Methods.

try Blocks.

Handlers.

Finally Code.

Converting Assertions to Exceptions.

Standard Exceptions.

Software Engineering: Exception Objects.

Dr. P's Prescriptions.

C# Compared with Java and C++.



11. Container Classes.

Self-Referential Structures.

A Linked List Implementation of a Stack.

A Doubly Linked List.

More Operations on Lists.

Implementing ToString()for Class IntDList.

A Generic Stack.

Iterators.

Using Iterators to Implement the method Append().

Deleting objects.

Software Engineering: Code Reuse.

Dr. P's Prescriptions.

C# Compared with Java and C++.



12. OOP Using C#.

OOP Language Requirements.

ADTs: Encapsulation and Data Hiding.

Reuse and Inheritance.

Polymorphism.

OOP: The Dominant Programming Methodology.

Designing with OOP in Mind.

Class-Responsibility-Collaborator.

CRC Cards.

Design Patterns.

A Further Assessment of C++.

Why C++ Is Better Than Java.

A Short Rebuttal.

Software Engineering: Last Thoughts.

Dr. P's Prescriptions.

C++ Compared with Java.



Appendix A: ASCII Character C des.


Appendix B: Operator Precedence and Associativity.


Appendix C: String Library.

C.1 Constructors.

C.2 Methods.

C.3 Global Operators.



Appendix D: Visual Studio for C#.


Appendix E: Advanced Topics.

E.1 Preprocessor Directives.

E.2 Debugging with assertions using diagnostics library.

E.3 Delegates.

E.4 Params Signature.

Additional information

GOR005802248
9780201876673
0201876671
C# by Dissection: The Essentials of C# Programming: United States Edition by Ira Pohl
Used - Very Good
Paperback
Pearson Education (US)
20021122
624
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - C# by Dissection