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

Learn C# With Visual Studio 2017 and Console Programs

Video Description

With exercises!

About This Video

  • The author frequently about reading the various tips that show as you type in Visual Studio. You must learn how to read them because they provide valuable information.
  • This is a course dedicated to code only.

In Detail

This course consists of standalone examples designed to illustrate specific skills. There are no big applications built in this course. You must use Visual Studio 2017 to be sure you have the latest version of C# running. Lower versions of Visual Studio will cause errors because newer programming elements will not be found. This is a beginners course, but it is still detailed, even when it's very technical. This means in a few videos the author shows you the .NET framework source code. He does this because it's important to look at things as they actually are, and not at an artificially simplified perspective. This course covers C# through console programs only. It does not have ASP.NET, Windows forms, MVC, .NET core or anything like that. The videos are just coding videos done in Visual Studio Community 2017. This is the free version of Visual Studio. This is a course dedicated to code only, so you do not see any of the following: a talking head, PowerPoints or fancy graphics. All the code is written from scratch in the code editor window in Visual Studio Community 2017.

Table of Contents

  1. Chapter 1 : Get the Tools
    1. Find, download and install Visual Studio 2017 Community 00:03:48
  2. Chapter 2 : Understand the Supporting Fundamentals
    1. Create your first executable file 00:07:37
    2. Print one line of output 00:04:24
    3. Dig into the Console class 00:08:03
    4. What is the .NET Framework? 00:09:04
    5. Using directives 00:03:56
  3. Chapter 3 : Create Programs
    1. Use one variable to represent a changing quantity 00:07:42
    2. Understand the consequences of a data type 00:04:43
    3. Describe an object with multiple data types 00:07:36
    4. Print multiple variable values 00:08:38
    5. Use the debugger, part 1 00:06:29
    6. Use the debugger, part 2 00:05:26
    7. Perform simple calculations, part 1 00:07:59
    8. Perform simple calculations, part 2 00:05:18
    9. Accept string input and produce string output 00:05:45
    10. Use the Concat method from the String class 00:09:44
    11. Accept numeric input and produce numeric output, part 1 00:07:03
    12. Numeric input/output, part 2 00:07:22
    13. Decipher an error message 00:05:15
    14. Understand the concept of method chaining 00:07:44
    15. Understand and use basic properties 00:09:25
  4. Chapter 4 : Program Flow
    1. Understand the concept of a logical condition 00:08:54
    2. Understand a simple if/else condition check 00:06:06
    3. Use a sequence of if/else checks 00:05:06
    4. Understand how to use the debugger with if/else 00:01:50
    5. Use if/else with a method 00:07:07
    6. Write more stable code with TryParse, part 1 00:05:51
    7. Write more stable code with TryParse, part 2 00:03:25
    8. Using TryParse, part 3 00:11:34
    9. Understand compound operators 00:08:13
    10. Create and run a while loop, part 1 00:06:42
    11. Create and run a while loop, part 2 00:05:42
    12. Exiting from while loops, part 3 00:11:07
    13. Create and run a for loop, part 1 00:06:10
    14. Create and run a for loop, part 2 00:05:23
    15. Adjusting indexes in for loops, part 3 00:05:26
    16. Strings as indexed constructs 00:06:56
    17. Strings with for loops 00:08:44
    18. Nest an if/else inside a for loop 00:08:18
    19. Understand string behavior in memory 00:03:45
    20. Execution mechanics of a for loop 00:02:26
    21. Linq basics, part 1 00:07:56
    22. Lists with ForEach 00:07:22
    23. While with TryParse 00:07:35
    24. Ternary operator with numbers, part 1 00:05:11
    25. Ternary operator with methods, part 2 00:04:08
    26. Rewrite code so it's more compact 00:04:32
    27. Switch blocks, part 1 00:06:55
    28. Switch blocks, part 2 00:01:50
    29. Switch blocks, part 3 00:07:10
  5. Chapter 5 : Logical Operators
    1. Decide on two conditions with "and", part 1 00:05:15
    2. Decide on two logical conditions with "and", part 3 00:05:35
    3. TryParse with while, "and", break and continue 00:10:28
    4. Decide on two or more conditions with or 00:05:46
    5. Use multiple "ors" with foreach 00:09:30
  6. Chapter 6 : Methods
    1. Create a void method 00:06:54
    2. Get/Set of properties 00:02:57
    3. Create a method with one parameter and a return value 00:06:48
    4. Understand the call stack and parameters as local variables 00:04:07
    5. Understand the concept of block methods and expression body methods 00:02:09
    6. Create a method with two parameters and one return value, part 1 00:05:19
    7. Create a method with two parameters, part 2 00:07:48
    8. Using modern switch blocks 00:08:48
    9. Methods that crash, part 1 00:07:30
    10. Methods that crash, part 2 00:06:34
    11. Try/Catch challenge with solution 00:03:56
    12. Nulls with strings and try /catch 00:07:11
    13. Create a method with a string parameter and return type 00:07:50
    14. Change DivRem so it doesn't crash 00:04:29
    15. Create a method with a tuple return value, part 1 00:05:59
    16. Methods that return a tuple, part 2 00:06:19
    17. Method with a List<int> parameter that returns an IEnumerable<int>, part 1 00:06:45
    18. Method with a List<int> parameter that returns an IEnumerable<int>, part 2 00:06:15
  7. Chapter 7 : Arrays
    1. Understand the concept of an index for arrays 00:08:36
    2. Create a more flexible method with the Params keyword 00:05:06
    3. Params method with multiplication challenge 00:05:15
    4. Split method from string class 00:06:48
    5. Arrays and lists are reference types 00:06:00
    6. Passing by reference vs. passing by value, part 1 00:07:19
    7. Passing by reference and value, part 2 00:03:49
    8. Step through an array with a for loop 00:08:55
    9. Difference in memory between strings and other types like integers, decimals 00:04:59
    10. Define a two-dimensional array with manual indexes 00:08:35
    11. Extend the size of a multidimensional array 00:03:54
    12. Multidimensional arrays with methods 00:06:56
    13. Fill a two-dimensional array with a for loops 00:09:55
    14. Print a multidimensional array 00:04:35
    15. Create and print jagged arrays 00:10:21