Microsoft Visual C♯ 2012
Subtitle: an introduction to object-oriented programming
By: Joyce Farrell
Edition: Fifth edition.
Publisher: Course Technology Cengage Learning
Published: 2014
Place of publication: Australia; United States
Language: eng
Number of pages: 842
ISBN-13: 9781285096339; 9781285096353
Subjects: Visual programming (Computer science); C# (Computer program language); Object-oriented programming (Computer science)
Description: Guide today's beginning programmers in the fundamentals of the C♯ language with this book. Approachable examples and a clear, straightforward pedagogy help readers establish a strong background in both structured and object-oriented programming concepts, introducing critical skills that are easily transferrable to other programming languages. The latest edition of this book incorporates the most recent versions of both C♯ and Microsoftr Visual Studior 2012 to ensure students have the contemporary skills necessary for professional success. Bite-sized You Do It hands-on features, Video Lessons for each chapter, and a variety of new debugging exercises, programming exercises, and running case studies keep students actively engaged in learning throughout. A full selection of Instructor Resources and optional Microsoftr Visual Studior software to accompany this book ensure you have the tools to reinforce the solid programming skills your students need.
Notes: Includes index.
Table of contents: title: Machine generated contents note: ch. 1 A First Program Using C♯; title: Programming; title: Procedural and Object-Oriented Programming; title: Features of Object-Oriented Programming Languages; title: The C♯ Programming Language; title: Writing a C♯ Program that Produces Output; title: Selecting Identifiers; title: Improving Programs by Adding Comments and Using the System Namespace; title: Adding Program Comments; title: Using the System Namespace; title: Compiling and Executing a C♯ Program; title: Compiling Code from the Command Prompt; title: Compiling Code Using the Visual Studio IDE; title: Noticing the Differences Between the Programs in the Text Editor and the IDE; title: Deciding Which Environment to Use; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 2 Using Data; title: Declaring Variables; title: Displaying Variable Values; title: Using the Integral Data Types; title: Using Floating-Point Data Types; title: Formatting Floating-Point Values; title: Using Arithmetic Operators; title: Using Shortcut Arithmetic Operators; title: Using the bool Data Type; title: Understanding Numeric Type Conversion; title: Using the char Data Type; title: Using the string Data Type; title: Defining Named Constants; title: Working with Enumerations; title: Accepting Console Input; title: Using the Convert Class; title: Using the Parse () Methods; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 3 Using GUI Objects and the Visual Studio IDE; title: Creating a Form in the IDE; title: Using the Toolbox to Add a Button to a Form; title: Adding Functionality to a Button on a Form; title: Adding Labels and TextBoxes to a Form; title: Understanding Focus and Tab Control; title: Formatting Data in GUI Applications; title: Changing a Label's Font; title: Naming Forms and Controls; title: Correcting Errors; title: Deleting an Unwanted Event-Handling Method; title: Failing to Close a Form Before Attempting to Reexecute a Program; title: Using Visual Studio Help; title: Deciding Which Interface to Use; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 4 Making Decisions; title: Understanding Logic-Planning Tools and Decision Making; title: Making Decisions Using the if Statement; title: A Note on Equivalency Comparisons; title: Making Decisions Using the if-else Statement; title: Using Compound Expressions in if Statements; title: Using the Conditional AND Operator; title: Using the Conditional OR Operator; title: Using the Logical AND and OR Operators; title: Combining AND and OR Operators; title: Making Decisions Using the switch Statement; title: Using an Enumeration with a switch Statement; title: Using the Conditional Operator; title: Using the NOT Operator; title: Avoiding Common Errors When Making Decisions; title: Performing Accurate and Efficient Range Checks; title: Using and Appropriately; title: Using the! Operator Correctly; title: Decision-Making Issues in GUI Programs; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 5 Looping; title: Using the while Loop; title: Using the for Loop; title: Using the do Loop; title: Using Nested Loops; title: Accumulating Totals; title: Improving Loop Performance; title: Avoiding Unnecessary Operations; title: Considering the Order of Evaluation of Short-Circuit Operators; title: Comparing to Zero; title: Employing Loop Fusion; title: Using Prefix Incrementing Rather than Postfix Incrementing; title: Looping Issues in GUI Programs; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 6 Using Arrays; title: Declaring an Array and Assigning Values to Array Elements; title: Initializing an Array; title: Accessing Array Elements; title: Using the Length Property; title: Using foreach; title: Using foreach with Enumerations; title: Searching an Array Using a Loop; title: Using a for Loop to Search an Array; title: Improving a Loop's Efficiency; title: Using a while Loop to Search an Array; title: Searching an Array for a Range Match; title: Using the BinarySearch(), Sort(), and Reverse() Methods; title: Using the BinarySearch() Method; title: Using the Sort() Method; title: Using the Reverse() Method; title: Using Multidimensional Arrays; title: Using Jagged Arrays; title: Array Issues in GUI Programs; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 7 Using Methods; title: Understanding Methods and Implementation Hiding; title: Understanding Implementation Hiding; title: Writing Methods with No Parameters and No Return Value; title: An introduction to Accessibility; title: An Introduction to the Optional static Modifier; title: An Introduction to Return Types; title: Understanding the Method Identifier; title: Placing a Method in a Class; title: Declaring Variables and Constants in a Method; title: Writing Methods That Require a Single Argument; title: Writing Methods That Require Multiple Arguments; title: Writing a Method that Returns a Value; title: Writing a Method that Returns a Boolean Value; title: Analyzing a Built-in Method; title: Passing Array Values to a Method; title: Passing a Single Array Element to a Method; title: Passing an Array to a Method; title: Alternate Ways to Write a Main() Method Header; title: Writing a Main() Method with a Parameter List; title: Writing a Main() Method with an Integer Return Type; title: Writing a Main() Method with public Access; title: Issues Using Methods in GUI Programs; title: Understanding Methods that are Automatically Generated in the Visual Environment; title: Appreciating Scope in a GUI Program; title: Creating Methods to be Nonstatic when Associated with a Form; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 8 Advanced Method Concepts; title: Understanding Parameter Types; title: Using Mandatory Value Parameters; title: Using Reference Parameters, Output Parameters, and Parameter Arrays; title: Using a ref Parameter; title: Using an out Parameter; title: Using the TryParseO Methods; title: Using Parameter Arrays; title: Overloading Methods; title: Understanding Overload Resolution; title: Discovering Built-in Overloaded Methods; title: Avoiding Ambiguous Methods; title: Using Optional Parameters; title: Leaving Out Unnamed Arguments; title: Using Named Arguments; title: Advantages to Using Named Arguments; title: Disadvantages to Using Named Arguments; title: Overload Resolution with Named and Optional Arguments; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 9 Using Classes and Objects; title: Understanding Class Concepts; title: Creating a Class from Which Objects Can Be Instantiated; title: Creating Instance Variables and Methods; title: Creating Objects; title: Passing Objects to Methods; title: Creating Properties; title: Using Auto-Implemented Properties; title: More About public and private Access Modifiers; title: Understanding the thi s Reference; title: Understanding Constructors; title: Passing Parameters to Constructors; title: Overloading Constructors; title: Using Constructor Initializers; title: Using the readonly Modifier in a Constructor; title: Using Object Initializers; title: Overloading Operators; title: Declaring an Array of Objects; title: Using the Sort() and BinarySearch() Methods with Arrays of Objects; title: Understanding Destructors; title: Understanding GUI Application Objects; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 10 Introduction to Inheritance; title: Understanding Inheritance; title: Understanding Inheritance Terminology; title: Extending Classes; title: Using the protected Access Specifier; title: Overriding Base Class Members; title: Accessing Base Class Methods and Properties from a Derived Class; title: Understanding Implicit Reference Conversions; title: Using the Object Class; title: Using the Object Class's GetType() Method; title: Using the Object Class's ToString() Method; title: Using the Ob j ect Class's Equals() Method; title: Using the Object Class's GetHashCode() Method; title: Working with Base Class Constructors; title: Using Base Class Constructors That Require Arguments; title: Creating and Using Abstract Classes; title: Creating and Using Interfaces; title: Using Extension Methods; title: Recognizing Inheritance in GUI Applications and Recapping the Benefits of Inheritance; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 11 Exception Handling; title: Understanding Exceptions; title: Purposely Generating a SystemException; title: Understanding Traditional and Object-Oriented Error-Handling Methods; title: Understanding Object-Oriented Exception-Handling Methods; title: Using the Exception Class's ToString() Method and Message Property; title: Catching Multiple Exceptions; title: Examining the Structure of the TryParse() Methods; title: Using the finally Block; title: Handling Exceptions Thrown from Outside Methods; title: Tracing Excepti on Objects Through the Call Stack; title: A Case Study: Using StackTrace; title: Creating Your Own Exception Classes; title: Rethrowing an Exception; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 12 Using Controls; title: Understanding Controls; title: Examining the IDE's Automatically Generated Code; title: Setting a Control's Font; title: Using a LinkLabel; title: Adding Color to a Form; title: Using CheckBox and RadioButton Objects; title: Adding a PictureBox to a Form; title: Adding ListBox, CheckedListBox, and ComboBox Controls to a Form; title: Adding MonthCalendar and DateTimePicker Controls to a Form; title: Working with a Form's Layout; title: Understanding GroupBoxes and Panels; title: Adding a MenuStrip to a Form; title: Using Other Controls; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 13 Handling Events; title: Event Handling; title: Understanding Delegates; title: Creating Composed Delegates; title: Declaring Your Own Events and Handlers and Using the Built-in EventHandler; title: Using the Built-in EventHandler; title: Handling Control Component Events; title: Handling Mouse and Keyboard Events; title: Handling Mouse Events; title: Handling Keyboard Events; title: Managing Multiple Controls; title: Defining Focus; title: Handling Multiple Events with a Single Handler; title: Continuing to Learn about Controls and Events; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 14 Files and Streams; title: Files and the File and Directory Classes; title: Using the File and Directory Classes; title: Understanding File Data Organization; title: Understanding Streams; title: Writing and Reading a Sequential Access File; title: Writing Data to a Sequential Access Text File; title: Reading from a Sequential Access Text File; title: Searching a Sequential Text File; title: Understanding Serialization and Deserialization; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises; title: ch. 15 Using LINQ to Access Data in C♯ Programs; title: Understanding Relational Database Fundamentals.; title: Note continued: Creating Databases and Table Descriptions; title: Identifying Primary Keys; title: Understanding Database Structure Notation; title: Creating SQL Queries; title: Creating an Access Database; title: Understanding Implicitly Typed Variables; title: Understanding LINQ; title: Retrieving Data from an Access Database in C♯; title: Using LINQ Queries with an Access Database Table; title: Using LINQ Operators to Sort and Group Data; title: Chapter Summary; title: Key Terms; title: Review Questions; title: Exercises.