O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming in C# .NET

Video Description

In this computer based training course on C#.NET, teacher and author Mike McMillan introduces you to this powerful programming language on the .NET Framework. Using a simple to understand step by step method of learning, you will quickly grasp the components to allow you to write full fledged programs with C# .NET.
You will start with an introduction to the very basics of C#, variable types. You then move to learning about classes, how to handle data, logical operations, flow control and much more in this video tutorial. You will learn how to accept user input, and even how to store it in a file for later retrieval. Each chapter is completed with an exercise that allows you to apply what you have learned, re-enforcing your training.
By the conclusion of this video training course on C# .NET, you will be capable of building complete computer programs at a basis level, using this programming language. This course comes complete with working files to allow you to work alongside the author as he teaches you how to program in C# .NET. Far more effective than a manual and cheaper than classroom based classes, this is the ultimate in self-paced learning.

Table of Contents

  1. Introduction
    1. What's Covered 00:04:39
    2. Author Bio 00:01:40
  2. Getting Started
    1. Visual C# Express Install 00:02:23
    2. Visual C# Express Overview 00:03:33
  3. Your First C# Program
    1. Entering And Running The Program 00:07:16
    2. Correcting Errors 00:03:43
    3. Exercise - Modifying 00:03:00
  4. C# Building Blocks - Data Types And Variables
    1. Introduction To Data Types 00:03:08
    2. Data Types - int, double 00:02:32
    3. Data Types Continued - string and bool 00:03:28
    4. Variable Naming Rules 00:03:17
    5. Declaring Variables 00:02:11
    6. Assigning Data To Variables 00:03:29
    7. Exercise - Saying Hello To Others 00:02:52
  5. Introduction To Classes And Objects
    1. Classes And Objects 00:03:40
    2. Class Data Members - Constructors 00:05:10
    3. ToString Method 00:04:29
    4. Set and Get Methods 00:04:14
    5. Properties - Chapter 5 00:02:27
    6. Utility Methods 00:02:00
    7. Exercise 1 - More On Name Class 00:02:37
    8. Exercise 2 - A Date Class 00:03:34
  6. Arithmetic Operators And Expressions
    1. C# Arithmetic Operators 00:04:12
    2. Arithmetic Operator Order Of Precedence 00:02:04
    3. Increment And Composite Assignment Operators 00:02:45
    4. Using Constants 00:02:39
    5. Math Library Functions 00:02:08
    6. Mixing Arithmetic Data Types 00:02:59
    7. Exercise 1 - Translating Formulas To C# Code 00:03:14
  7. C# Input And Output
    1. Reading Data From The Keyboard 00:03:08
    2. Reading Numeric Data From The Keyboard 00:02:49
    3. Writing Data To The Console 00:03:03
    4. Exercise - Generating A Form Letter 00:03:29
  8. Making Decisions
    1. Relational Operators 00:03:59
    2. Logical Operators 00:03:24
    3. Simple if Statement 00:04:22
    4. if-else Statements 00:04:18
    5. Nested if-else Statements 00:04:41
    6. The if-else-if Statement - Part 1 00:02:36
    7. The if-else-if Statement - Part 2 00:03:27
    8. Exercise 1 - Q & A Program 00:04:25
    9. Exercise 2 - A Calculator Program 00:03:26
  9. Performing Repetition
    1. The while Loop - Part 1 00:02:57
    2. The while Loop - Part 2 00:04:19
    3. Count Controlled while Loops 00:04:13
    4. Event Controlled while Loops 00:05:21
    5. The for Loop - Part 1 00:03:04
    6. The for Loop - Part 2 00:04:50
    7. The for Loop - Part 3 00:03:43
    8. break And continue 00:05:02
    9. Exercise 1 - Looping Q and A 00:04:47
    10. Exercise 2 - Looping Calculator 00:03:45
  10. Methods
    1. Defining A Method - Part 1 00:06:45
    2. Defining A Method - Part 2 00:06:07
    3. Predicate Methods 00:05:54
    4. Void Methods 00:02:50
    5. Value Parameters 00:05:34
    6. Exercise 1 - Two Example Methods 00:03:47
    7. Exercise 2 - Adding Methods 00:03:33
  11. Working With Lists
    1. Introduction To Lists 00:03:36
    2. Declaring A List 00:03:56
    3. Initializing A List 00:02:05
    4. Adding Data To A List 00:01:25
    5. Accessing List Elements 00:04:49
    6. Passing Lists As Method Arguments 00:04:29
    7. Generating Random Numbers 00:07:41
    8. Searching A List 00:04:01
    9. Sorting A List 00:02:21
    10. Exercise 1 - Finding The Maximum Value 00:03:01
    11. Exercise 2 - A Custom Search Method 00:05:27
  12. Classes And Object-Oriented Programming
    1. Private Data Members 00:04:27
    2. More On Constructors 00:04:25
    3. Properties - Chapter 12 00:05:01
    4. Displaying Data - ToString 00:07:00
    5. Helper Methods 00:06:05
    6. Exercise 1 - An Object-Oriented Calculator 00:04:02
    7. Exercise 2 - Extending Time Class 00:03:42
  13. Inheritance
    1. Introduction To Inheritance 00:06:11
    2. Overriding Methods 00:05:33
    3. Protected Members 00:03:13
    4. Exercise 1 - Virtual Methods 00:03:39
    5. Exercise 2 - Graphics Package 00:04:15
  14. Polymorphism And Other Advanced Topics
    1. Polymorphism Example 00:03:56
    2. Working With Abstract Classes 00:02:51
    3. Working With Interfaces 00:05:15
    4. Exercise 1 - Polymorphism 00:04:12
  15. Arrays
    1. Declaring An Array 00:03:18
    2. Working With Array Elements 00:03:56
    3. Special Array Methods 00:04:32
    4. Passing Arrays As Function Arguments 00:05:52
    5. Two-Dimensional Arrays - Part 1 00:05:43
    6. Two-Dimensional Arrays - Part 2 00:03:23
    7. Exercise 1 - Array Elements As Counters 00:03:38
    8. Exercise 2 - Bar Charts Using Array 00:03:15
    9. Exercise 3 - A Deck Of Playing Cards 00:05:41
  16. Additional C# Control Flow Constructs
    1. The switch statement - Part 1 00:06:13
    2. The switch statement - Part 2 00:03:47
    3. The do-while Loop - Part 1 00:04:09
    4. The do-while Loop - Part 2 00:03:27
    5. The for-each Loop - Part 1 00:03:47
    6. The for-each Loop - Part 2 00:02:08
    7. Exercise 1 - Using switch Statement 00:02:27
    8. Exercise 2 - while Loop Replacement 00:02:36
    9. Exercise 3 - for-each Loop In Lists 00:03:55
  17. File Processing
    1. Writing Data To A File 00:04:50
    2. Reading Data From A File 00:06:29
    3. Appending Data To A File 00:02:17
    4. Reading Characters From A File 00:02:47
    5. Writing Characters To A File 00:02:38
    6. Exercise 1 - Creating A To-Do List 00:05:50
    7. Exercise 2 - To-Do List Continued 00:05:10
  18. Miscellaneous Topics
    1. Variable Scope 00:05:30
    2. Working With Strings 00:09:10
    3. Exception Handling 00:07:31
    4. LINQ For Queries 00:06:02