Learning Path: C# 2012 Developer

Video description

C# 2012 Developer Learning Path presents Paul Deitel’s signature “Live Code” treatment of Microsoft’s C# 2012 programming language—over 27 hours of expert video! Every important C# concept is presented in the context of a complete, working C# 2012 program. This LiveLesson contains over 20,000 lines of fully tested C# program code. And developers are free to reuse all of it. Among the key topics included in this LiveLesson are:
• Databases and LINQ to Entities: The LINQ to SQL technology covered in the previous edition has been replaced with the more robust LINQ to Entities and the ADO.NET Entity Framework;

• Microsofts free SQL Server Express 2012 is used to present the fundamentals of database programming;

• ASP.NET 4.5, Microsofts .NET server-side technology, enables developers to create robust, scalable web-based apps;

Asynchronous programming with async and await. Asynchronous programming is simplified in Visual C# 2012 with the new async and await capabilities.

About the Author:

Paul Deitel is the co-founder of Deitel & Associates, Inc., the internationally recognized programming languages authoring, corporate-training and Internet business development organization. Paul and his father—Harvey Deitel—have written many international best-selling programming-language professional books and textbooks that millions of people worldwide have used to master C++, C, Java™, C#, Visual Basic®, Visual C++®, XML, Perl, Python, and Internet and web programming.

Table of contents

  1. Setting Up Your Windows 7 Environment
    1. Lesson introduction
    2. Setting up your development environment
  2. Lesson 1: Test-Driving a C# App Using Visual Studio for Windows Desktop on Windows 7
    1. Lesson introduction
    2. Test-Driving a C# App Using Visual Studio for Windows Desktop on Windows 7
  3. Lesson 2: Dive Into® Visual Studio Express 2012 for Windows Desktop
    1. Lesson introduction
    2. Overview of the IDE and creating a new project
    3. IDE Menus and Toolbars
    4. Navigating the IDE
    5. Using Help
    6. Using Visual App Development to Create a Simple App that Displays Text and an Image
  4. Lesson 3: Introduction to C#
    1. Lesson introduction
    2. A Simple C# App: Displaying a Line of Text
    3. Creating a Simple App in Visual Studio
    4. Displaying a Single Line of Text with Multiple Statements
    5. Displaying Multiple Lines of Text with a Single Statement
    6. Formatting Text with Console.Write and Console.WriteLine
    7. Adding Integers
    8. Decision Making: Equality and Relational Operators
  5. Lesson 4: Introduction to Classes, Objexts Methods and Strings
    1. Lesson introduction
    2. Declaring a Class with a Method and Instantiating an Object of That Class
    3. Declaring a Method with a Parameter
    4. Instance Variables and Properties
    5. Value Types vs. Reference Types
    6. Initializing Objects with Constructors
    7. Floating-Point Numbers, Type decimal and Validating Data
  6. Lesson 5: Control Statements: Part 1
    1. Lesson introduction
    2. Class Average Using Counter-Controlled Repetition
    3. Class Average Using Sentinel-Controlled Repetition
    4. Nested Control Statements
    5. Compound Assignment Operators
    6. Increment and Decrement Operators
  7. Lesson 6: Control Statements: Part 2
    1. Lesson introduction
    2. Essentials of Counter-Controlled Repetition
    3. for Repetition Statement
    4. Summing integers with the for statement
    5. Compound Interest Calculations with for
    6. do…while Repetition Statement
    7. switch Multiple-Selection Statement
    8. break Statement Exiting a for Statement
    9. continue Statement Terminating an Iteration of a for Statement
    10. Logical Operators
  8. Lesson 7: Methods: A Deeper Look
    1. Lesson introduction
    2. static Methods: User-Defined Method maximum
    3. Three Ways to Call a Method
    4. Promotion Rules
    5. The .NET Framework Class Library
    6. Shifted and Scaled Random Numbers for Rolling a Six-Sided Die
    7. Roll a Six-Sided Die 6,000,000 Times
    8. Case Study: A Game of Chance; Introducing Enumerations
    9. Scope of Declarations
    10. Method Overloading
    11. Optional Parameters
    12. Named Parameters
    13. A Simple Example of Recursion: Factorial
    14. Passing Arguments By Value and By Reference
  9. Lesson 8: Arrays; Introduction to Exception Handling
    1. Lesson introduction
    2. Creating an Array
    3. Using an Array Initializer
    4. Calculating a Value to Store in Each Element of an Array; Introducing const
    5. Summing the Elements of an Array
    6. Using Bar Charts to Display Data Graphically
    7. Using the Elements of an Array as Counters
    8. Using Arrays to Analyze Survey Results; Introduction to Exception Handling
    9. Card Shuffling and Dealing Simulation; Introducing Arrays of References to Objects and the ToString method
    10. foreach Repetition Statement
    11. Passing Arrays and Array Elements to Methods
    12. Passing Arrays by Value and by Reference
    13. Case Study: GradeBook Using an Array to Store Grades
    14. Multidimensional Arrays
    15. Case Study: GradeBook Using a Rectangular Array
    16. Variable-Length Argument Lists
    17. Using Command-Line Arguments
  10. Lesson 9: Introduction to LINQ and the List Collection
    1. Lesson introduction
    2. Querying an Array of int Values using LINQ
    3. Querying an Array of Employee Objects Using LINQ
    4. Introduction to Collection and the Generic List Class
    5. Querying a Generic Collection Using LINQ
  11. Lesson 10: Classes and Objects: A Deeper Look
    1. Lesson introduction
    2. Time Class Case Study
    3. Controlling Access to Members
    4. Referring to the Current Object's Members with the this Reference
    5. Time Class Case Study: Overloaded Constructors
    6. Composition
    7. static Class Members
    8. A Note About Constant Fields of a Class
    9. Class View and Object Browser
    10. Object Initializers
  12. Lesson 11: Object-Oriented Programming: Inheritance
    1. Lesson introduction
    2. Base Classes and Derived Classes
    3. Creating a CommissionEmployee Class
    4. Creating a BasePlusCommissionEmployee Class without Using Inheritance
    5. Creating a CommissionEmployee-BasePlusCommissionEmployee Inheritance Hierarchy
    6. CommissionEmployee-BasePlusCommissionEmployee Inheritance Hierarchy Using protected Instance Variables
    7. CommissionEmployee-BasePlusCommissionEmployee Inheritance Hierarchy Using private Instance Variables
    8. Class object
  13. Lesson 12: Object-Oriented Programming: Polymorpishm
    1. Lesson introduction
    2. Demonstrating Polymorphic Behavior with the CommissionEmployee-BasePlusCommissionEmployee Hierarchy
    3. Case Study: Payroll System Using Polymorphism
    4. Creating Abstract Base Class Employee
    5. Creating Concrete Derived Class SalariedEmployee
    6. Creating Concrete Derived Class HourlyEmployee
    7. Creating Concrete Derived Class CommissionEmployee
    8. Creating Concrete Derived Class BasePlusCommissionEmployee
    9. Polymorphic Processing, Operator is and Downcasting
    10. Sealed Methods and Classes
    11. Developing an IPayable Hierarchy
    12. Declaring Interface IPayable
    13. Creating Class Invoice
    14. Modifying Class Employee to Implement Interface IPayable
    15. Modifying Class SalariedEmployee for use with IPayable
    16. Using Interface IPayable to Process Invoices and Employees Polymorphically
    17. Operator Overloading
  14. Lesson 13: Exception Handling: A Deeper Look
    1. Lesson introduction
    2. Example: Divide by Zero without Exception Handling
    3. Example: Handling DivideByZeroExceptions and FormatExceptions
    4. finally Block
    5. The using Statement
    6. Exception Properties
    7. Programmer-Defined Exception Classes
  15. Lesson 14: Graphical User Interfaces with Windows Forms: Part 1
    1. Lesson introduction
    2. Introduction to GUIs
    3. A Simple Event-Driven GUI
    4. Building the Simple Event Example and Viewing the Auto-Generated GUI Code
    5. Delegates and the Event Handling Mechanism
    6. Locating Event Information
    7. Control Properties and Layout
    8. Labels, TextBoxes and Buttons
    9. GroupBoxes and Panels
    10. CheckBoxes
    11. RadioButtons
    12. PictureBoxes
    13. ToolTips
    14. NumericIUpDown Control
    15. Mouse-Event Handling
    16. Keyboard-Event Handling
  16. Lesson 15: Graphical User Interfaces with Windows Forms: Part 2
    1. Lesson introduction
    2. Menus
    3. MonthCalendar Control
    4. DateTimePicker Control
    5. LinkLabel Control
    6. ListBox Control
    7. CheckedListBox Control
    8. ComboBox Control
    9. TreeView Control
    10. ListView Control
    11. TabControl Control
    12. Multiple Document Interface (MDI) Windows
    13. Visual Inheritance
    14. User-Defined Controls
  17. Lesson 16: Strings and Chracters: A Deeper Look
    1. Lesson introduction
    2. string Constructors
    3. string Indexer, Length property and CopyTo Method
    4. Comparing strings
    5. Determining Whether a String Begins or Ends with a Specified String
    6. Locating Characters and Substrings in strings
    7. Extracting Substrings from strings
    8. Concatenating strings
    9. Miscellaneous string Methods
    10. Class StringBuilder Constructors
    11. Length and Capacity Properties, EnsureCapacity Method and Indexer of Class StringBuilder
    12. Append Method of Class StringBuilder
    13. AppendFormat Method of Class StringBuilder
    14. Insert and Remove Methods of Class StringBuilder
    15. Replace Method of Class StringBuilder
    16. Char Methods
    17. Simple Regular Expressions and Class Regex
    18. Regular-Expression Character Classes and Quantifiers
    19. A More Complex Regular Expression
    20. Validating User Input with Regular Expressions and LINQ
    21. Regex Methods Replace and Split
  18. Lesson 17: Files and Streams
    1. Lesson introduction
    2. Using Classes File and Directory
    3. Using LINQ to Search Directories and Determine File Types
    4. BankLibrary: Reusable Class BankUIForm
    5. BankLibrary: Reusable Class Record
    6. Creating and Writing to a Sequential-Access File
    7. Reading Date from a Sequential-Access Text File
    8. Case Study: Credit-Inquiry Program
    9. BankLibrary: Class RecordSerializable
    10. Creating a Sequential-Access File Using Object Serialization
    11. Reading and Deserializing Data from a Binary File
  19. Lesson 18: Generics
    1. Lesson introduction
    2. Motivation for Generic Methods
    3. Generic-Method Implementation
    4. Type Constraints
    5. Generic Classes
    6. Generic Methods That Receive Objects of Generic Classes as Arguments
  20. Lesson 19: Collections
    1. Lesson introduction
    2. Class Array and Enumerators
    3. Class ArrayList
    4. Class Stack
    5. Class ClassHashtable
    6. Generic Class SortedDictionary
    7. Generic Class LinkedList
  21. Lesson 20: Databases and LINQ
    1. Lesson introduction
    2. Relational Databases
    3. Books Database
    4. Books Database: Entity-Relationship Diagram
    5. LINQ to Entities and the ADO.NET Entity Framework
    6. Querying a Database with LINQ: Demonstrating the Display Authors Table App
    7. Querying a Database with LINQ: Creating the ADO.NET Entity Data Model Class Library
    8. Querying a Database with LINQ: Creating a Windows Forms Project and Configuring It to Use the Entity Data Model
    9. Querying a Database with LINQ: Data Bindings Between Controls and the Entity Data Model
    10. Querying a Database with LINQ: Code for the Data Bindings Between Controls and the Entity Data Model
    11. Dynamically Binding Query Results
    12. Dynamically Binding Query Results: Creating the Display Query Results GUI
    13. Dynamically Binding Query Results: Coding the App
    14. Retrieving Data from Multiple Tables with LINQ
    15. Creating a Master/Detail View App
    16. Address Book Case Study
    17. Address Book Case Study: Creating the GUI
    18. Address Book Case Study: Coding the app
  22. Lesson 26: Asynchronous Programming with async and await
    1. Lesson introduction
    2. Basics of async and await
    3. Introduction to the Fibonacci calculation used in Sections 26.3-26.5
    4. Executing an Asynchronous Task from a GUI App
    5. Sequential Execution of Two Compute Intensive Tasks
    6. Asynchronous Execution of Two Compute Intensive Tasksp
    7. Invoking a Flickr Web Service Asynchronously with WebClient

Product information

  • Title: Learning Path: C# 2012 Developer
  • Author(s): Paul J. Deitel
  • Release date: September 2016
  • Publisher(s): Pearson
  • ISBN: 0134664949