An edition of Microsoft Visual C♯ 2012 (2014)

Microsoft Visual C♯ 2012

an introduction to object-oriented programming

Fifth edition.
  • 0 Ratings
  • 3 Want to read
  • 0 Currently reading
  • 0 Have read

My Reading Lists:

Create a new list

Check-In

×Close
Add an optional check-in date. Check-in dates are used to track yearly reading goals.
Today

  • 0 Ratings
  • 3 Want to read
  • 0 Currently reading
  • 0 Have read

Buy this book

Last edited by ImportBot
December 20, 2023 | History
An edition of Microsoft Visual C♯ 2012 (2014)

Microsoft Visual C♯ 2012

an introduction to object-oriented programming

Fifth edition.
  • 0 Ratings
  • 3 Want to read
  • 0 Currently reading
  • 0 Have read

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.

Publish Date
Language
English
Pages
842

Buy this book

Previews available in: English

Edition Availability
Cover of: Microsoft Visual C♯ 2012
Microsoft Visual C♯ 2012: an introduction to object-oriented programming
2014, Course Technology Cengage Learning
in English - Fifth edition.

Add another edition?

Book Details


Published in

Australia, United States

Table of Contents

Machine generated contents note: ch. 1 A First Program Using C♯
Programming
Procedural and Object-Oriented Programming
Features of Object-Oriented Programming Languages
The C♯ Programming Language
Writing a C♯ Program that Produces Output
Selecting Identifiers
Improving Programs by Adding Comments and Using the System Namespace
Adding Program Comments
Using the System Namespace
Compiling and Executing a C♯ Program
Compiling Code from the Command Prompt
Compiling Code Using the Visual Studio IDE
Noticing the Differences Between the Programs in the Text Editor and the IDE
Deciding Which Environment to Use
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 2 Using Data
Declaring Variables
Displaying Variable Values
Using the Integral Data Types
Using Floating-Point Data Types
Formatting Floating-Point Values
Using Arithmetic Operators
Using Shortcut Arithmetic Operators
Using the bool Data Type
Understanding Numeric Type Conversion
Using the char Data Type
Using the string Data Type
Defining Named Constants
Working with Enumerations
Accepting Console Input
Using the Convert Class
Using the Parse () Methods
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 3 Using GUI Objects and the Visual Studio IDE
Creating a Form in the IDE
Using the Toolbox to Add a Button to a Form
Adding Functionality to a Button on a Form
Adding Labels and TextBoxes to a Form
Understanding Focus and Tab Control
Formatting Data in GUI Applications
Changing a Label's Font
Naming Forms and Controls
Correcting Errors
Deleting an Unwanted Event-Handling Method
Failing to Close a Form Before Attempting to Reexecute a Program
Using Visual Studio Help
Deciding Which Interface to Use
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 4 Making Decisions
Understanding Logic-Planning Tools and Decision Making
Making Decisions Using the if Statement
A Note on Equivalency Comparisons
Making Decisions Using the if-else Statement
Using Compound Expressions in if Statements
Using the Conditional AND Operator
Using the Conditional OR Operator
Using the Logical AND and OR Operators
Combining AND and OR Operators
Making Decisions Using the switch Statement
Using an Enumeration with a switch Statement
Using the Conditional Operator
Using the NOT Operator
Avoiding Common Errors When Making Decisions
Performing Accurate and Efficient Range Checks
Using and Appropriately
Using the! Operator Correctly
Decision-Making Issues in GUI Programs
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 5 Looping
Using the while Loop
Using the for Loop
Using the do Loop
Using Nested Loops
Accumulating Totals
Improving Loop Performance
Avoiding Unnecessary Operations
Considering the Order of Evaluation of Short-Circuit Operators
Comparing to Zero
Employing Loop Fusion
Using Prefix Incrementing Rather than Postfix Incrementing
Looping Issues in GUI Programs
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 6 Using Arrays
Declaring an Array and Assigning Values to Array Elements
Initializing an Array
Accessing Array Elements
Using the Length Property
Using foreach
Using foreach with Enumerations
Searching an Array Using a Loop
Using a for Loop to Search an Array
Improving a Loop's Efficiency
Using a while Loop to Search an Array
Searching an Array for a Range Match
Using the BinarySearch(), Sort(), and Reverse() Methods
Using the BinarySearch() Method
Using the Sort() Method
Using the Reverse() Method
Using Multidimensional Arrays
Using Jagged Arrays
Array Issues in GUI Programs
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 7 Using Methods
Understanding Methods and Implementation Hiding
Understanding Implementation Hiding
Writing Methods with No Parameters and No Return Value
An introduction to Accessibility
An Introduction to the Optional static Modifier
An Introduction to Return Types
Understanding the Method Identifier
Placing a Method in a Class
Declaring Variables and Constants in a Method
Writing Methods That Require a Single Argument
Writing Methods That Require Multiple Arguments
Writing a Method that Returns a Value
Writing a Method that Returns a Boolean Value
Analyzing a Built-in Method
Passing Array Values to a Method
Passing a Single Array Element to a Method
Passing an Array to a Method
Alternate Ways to Write a Main() Method Header
Writing a Main() Method with a Parameter List
Writing a Main() Method with an Integer Return Type
Writing a Main() Method with public Access
Issues Using Methods in GUI Programs
Understanding Methods that are Automatically Generated in the Visual Environment
Appreciating Scope in a GUI Program
Creating Methods to be Nonstatic when Associated with a Form
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 8 Advanced Method Concepts
Understanding Parameter Types
Using Mandatory Value Parameters
Using Reference Parameters, Output Parameters, and Parameter Arrays
Using a ref Parameter
Using an out Parameter
Using the TryParseO Methods
Using Parameter Arrays
Overloading Methods
Understanding Overload Resolution
Discovering Built-in Overloaded Methods
Avoiding Ambiguous Methods
Using Optional Parameters
Leaving Out Unnamed Arguments
Using Named Arguments
Advantages to Using Named Arguments
Disadvantages to Using Named Arguments
Overload Resolution with Named and Optional Arguments
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 9 Using Classes and Objects
Understanding Class Concepts
Creating a Class from Which Objects Can Be Instantiated
Creating Instance Variables and Methods
Creating Objects
Passing Objects to Methods
Creating Properties
Using Auto-Implemented Properties
More About public and private Access Modifiers
Understanding the thi s Reference
Understanding Constructors
Passing Parameters to Constructors
Overloading Constructors
Using Constructor Initializers
Using the readonly Modifier in a Constructor
Using Object Initializers
Overloading Operators
Declaring an Array of Objects
Using the Sort() and BinarySearch() Methods with Arrays of Objects
Understanding Destructors
Understanding GUI Application Objects
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 10 Introduction to Inheritance
Understanding Inheritance
Understanding Inheritance Terminology
Extending Classes
Using the protected Access Specifier
Overriding Base Class Members
Accessing Base Class Methods and Properties from a Derived Class
Understanding Implicit Reference Conversions
Using the Object Class
Using the Object Class's GetType() Method
Using the Object Class's ToString() Method
Using the Ob j ect Class's Equals() Method
Using the Object Class's GetHashCode() Method
Working with Base Class Constructors
Using Base Class Constructors That Require Arguments
Creating and Using Abstract Classes
Creating and Using Interfaces
Using Extension Methods
Recognizing Inheritance in GUI Applications and Recapping the Benefits of Inheritance
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 11 Exception Handling
Understanding Exceptions
Purposely Generating a SystemException
Understanding Traditional and Object-Oriented Error-Handling Methods
Understanding Object-Oriented Exception-Handling Methods
Using the Exception Class's ToString() Method and Message Property
Catching Multiple Exceptions
Examining the Structure of the TryParse() Methods
Using the finally Block
Handling Exceptions Thrown from Outside Methods
Tracing Excepti on Objects Through the Call Stack
A Case Study: Using StackTrace
Creating Your Own Exception Classes
Rethrowing an Exception
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 12 Using Controls
Understanding Controls
Examining the IDE's Automatically Generated Code
Setting a Control's Font
Using a LinkLabel
Adding Color to a Form
Using CheckBox and RadioButton Objects
Adding a PictureBox to a Form
Adding ListBox, CheckedListBox, and ComboBox Controls to a Form
Adding MonthCalendar and DateTimePicker Controls to a Form
Working with a Form's Layout
Understanding GroupBoxes and Panels
Adding a MenuStrip to a Form
Using Other Controls
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 13 Handling Events
Event Handling
Understanding Delegates
Creating Composed Delegates
Declaring Your Own Events and Handlers and Using the Built-in EventHandler
Using the Built-in EventHandler
Handling Control Component Events
Handling Mouse and Keyboard Events
Handling Mouse Events
Handling Keyboard Events
Managing Multiple Controls
Defining Focus
Handling Multiple Events with a Single Handler
Continuing to Learn about Controls and Events
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 14 Files and Streams
Files and the File and Directory Classes
Using the File and Directory Classes
Understanding File Data Organization
Understanding Streams
Writing and Reading a Sequential Access File
Writing Data to a Sequential Access Text File
Reading from a Sequential Access Text File
Searching a Sequential Text File
Understanding Serialization and Deserialization
Chapter Summary
Key Terms
Review Questions
Exercises
ch. 15 Using LINQ to Access Data in C♯ Programs
Understanding Relational Database Fundamentals.
Note continued: Creating Databases and Table Descriptions
Identifying Primary Keys
Understanding Database Structure Notation
Creating SQL Queries
Creating an Access Database
Understanding Implicitly Typed Variables
Understanding LINQ
Retrieving Data from an Access Database in C♯
Using LINQ Queries with an Access Database Table
Using LINQ Operators to Sort and Group Data
Chapter Summary
Key Terms
Review Questions
Exercises.

Edition Notes

Includes index.

Classifications

Dewey Decimal Class
005.1/17
Library of Congress
QA76.64 .F368 2014, QA76.64.F368 2014

The Physical Object

Pagination
xxii, 842 pages
Number of pages
842

ID Numbers

Open Library
OL28419988M
Internet Archive
microsoftvisualc0005farr
ISBN 10
1285096339, 1285096355
ISBN 13
9781285096339, 9781285096353
LCCN
2013931000
OCLC/WorldCat
870559588

Community Reviews (0)

Feedback?
No community reviews have been submitted for this work.

Lists

This work does not appear on any lists.

History

Download catalog record: RDF / JSON / OPDS | Wikipedia citation
December 20, 2023 Edited by ImportBot import existing book
September 12, 2021 Edited by ImportBot import existing book
November 12, 2020 Edited by MARC Bot import existing book
July 30, 2020 Created by ImportBot Imported from Internet Archive item record.