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

A 15 Hour C# 6.0 Course – The Core Language

Video Description

Learn the fundamentals of C# 6.0 With Visual Studio 2015

About This Video

  • Learn C#, Visual Studio, and Object Oriented Programming

  • Practical examples of all the core C# language features so that you can easily master them yourself

  • Use the C# Programming Language to Work with Code and Data, which can be applied to other programming languages as well,

  • Complete a variety of programming assignments for hands-on practice, as you move through the course.

  • In Detail

    This comprehensive C# 6.0 course teaches you the core C# language and syntax, in a working Visual Studio environment, line by line! It covers everything from core language constructs through to more advanced language features such as C# Generics, Delegates, and Lambda expressions, and object-oriented programming techniques.

    This course is designed for beginner C# developers, and anyone who needs a fast reference to using the core C# language features in practical coding examples. You will also gain a view of C# through web programming with Web Forms, which means you will also learn HTML, basic CSS and how to use a variety of controls like buttons, text boxes, drop downs lists and others.

    You'll start this course by learning the fundamentals of C# and Visual Studio, including configuring the layout, defining variables, interacting with users, and understanding data types, data conversions, and constants. To work with code in a more advanced way, you'll tackle how to check simple conditions using if/else blocks, as well as how to use loops to do things like repeat blocks of code to work more efficiently. After covering various operators to evaluate and assign control structures, you'll learn how to use arrays to store collections of data. Moving on to Object Oriented Programming, you'll create objects that contain both data and functions to make your job even easier.

    By the end of this course, you'll have a solid understanding of the most important aspects of C#, Visual Studio, and Object Oriented Programming. You'll be able to use these new skills to advance your career as a programmer, as well as become a C# developer.

    Also included are bonus sections on programming C# through the console as well as an introduction to the Unity Engine and how to use C# to script in Unity, which is one of the major applications of C#.

    Table of Contents

    1. Chapter 1 : Introduction to Visual Studio
      1. Introduction – Why C#, and Downloading and Installing Visual Studio Community Edition 00:01:52
      2. Customizing Visual Studio to Make It Feel More Personal 00:02:50
    2. Chapter 2 : Learning the Fundamentals of Visual Studio and C#
      1. Creating and Running Your First Page 00:05:01
      2. Creating and Running a Page that Incorporates C# 00:06:28
      3. Creating and Using a Single Variable 00:07:15
      4. Updating Visual Studio with C# 6.0 00:03:01
      5. Formatting Output Strings for More Professional Results 00:06:12
      6. Using Variables and Data Types to Describe the World around Us 00:08:15
      7. Computed Variables and Basic Math 00:06:15
      8. Interacting with Users through the Web Page 00:07:23
      9. Using Method Chaining to Write More Compact Code 00:06:10
    3. Chapter 3 : Controlling Program Flow
      1. Reacting to a Single Condition with If/Else Blocks 00:06:08
      2. Making a Variable Grow by Adding 1 00:03:16
      3. Repeating Blocks of Code with While Loops 00:09:21
      4. Repeating Blocks of Code with For Loops 00:07:02
      5. Iterating Over Collections with ForEach Loops 00:06:28
      6. Examining Multiple Variable Values with Switch Blocks 00:06:14
      7. Improving Input Processing with TryParse 00:09:25
      8. Replacing If/Else Blocks with the Ternary Operator 00:09:06
    4. Chapter 4 : Operators
      1. Operators That Evaluate and Assign in Place 00:08:24
      2. Checking Two Conditions with the Logical AND Operator 00:06:15
      3. Checking Two Conditions with the Logical OR Operator 00:07:21
    5. Chapter 5 : Array and Method Basics – Web Forms Version
      1. Declaring, Setting, and Reading Arrays 00:09:20
      2. Iterating over Arrays with ForEach and For Loops 00:03:53
      3. Creating and Using a Simple Method 00:09:13
      4. Passing Arrays into Methods 00:06:18
      5. Reference Type and Value Type Variables 00:08:51
      6. Creating More Flexible Methods with the Params Keyword 00:08:32
      7. Creating More Flexible Functions with the Out Keyword 00:09:13
      8. Combining the Ref Keyword and Out Keyword to Write Flexible Functions 00:07:27
      9. Multidimensional Arrays 00:09:08
      10. Writing Easier Code with Var and Dynamic 00:10:57
    6. Chapter 6 : Fundamentals of Objected Oriented Programming – Web Forms Version
      1. Create a Class with a Constructor and a Function 00:11:49
      2. Create a Class with a Static Method 00:08:20
      3. Create a Class with an Object Property 00:10:01
      4. Create a Class with Static Fields, Functions, and Properties 00:08:49
      5. Centralize Common Code with Inheritance 00:14:26
      6. Centralize Default Code with Virtual Functions 00:11:37
      7. Model Concepts with Abstract Classes 00:11:36
      8. Using Custom Types as Return Types 00:09:36
      9. Using Lists to Operate on Data Efficiently 00:09:54
      10. Writing Less Code with Polymorphism 00:15:06
      11. Using Interfaces to Express Common Behaviors 00:11:05
      12. Iterating over Instances with Indexers 00:06:01
      13. Building More Stable Apps with Exception Handling 00:08:27
      14. Using Named and Optional Parameters 00:12:04
      15. Using the Null Coalescing Operator to Write More Stable Applications 00:11:59
      16. Overloading Operators to Perform Custom Operations 00:11:12
      17. Using Enumerations to Represent Named Constants 00:06:32
      18. Creating and Using Namespaces 00:10:21
      19. Structs, Random Points, and Sleeping Threads 00:07:53
      20. Declaring, Creating, and Using Delegates 00:08:42
    7. Chapter 7 : Generics, Web Forms Version
      1. Create a Simple Generic Class 00:08:12
      2. Create a Generic Method 00:11:04
      3. Implementing a Generic Interface to Accomplish Sorting 00:14:42
      4. Making Delegates More Flexible with Generics 00:06:29
      5. Creating and Using Generic Dictionaries 00:07:47
    8. Chapter 8 : Lambda Expressions and Linq – Web Forms Version
      1. Connection between Delegates and Lambda Expressions 00:08:53
      2. Expression Bodied Lambdas and Expression Bodied Members 00:11:32
      3. Anonymous Methods and Objects That Run Their Own Delegates 00:09:15
      4. C# with Linq and Built-in Types 00:09:02
      5. C# with Linq and Custom Data Types 00:06:16
      6. Using Query Syntax to Construct Queries 00:10:53
      7. Queries That Perform Aggregation Functions 00:09:53
      8. Using Linq to Summarize Tuples 00:08:10
      9. Summarizing Results with Grouping 00:08:25
      10. Joining Datasets with Inner Joins 00:09:28
    9. Chapter 9 : Working with SQL Server 2014
      1. Download, Install, and Run SQL Server 2014 00:07:03
      2. Write Code to Manually Connect to a Table and Retrieve Records 00:09:35
      3. Inserting Records into Tables Using Stored Procedures 00:14:45
      4. Using the Nullable Feature to Make Apps More Stable 00:10:31
      5. Connecting a Chart Control to SQL Server 00:09:14
      6. Using Linq to Operate on Tables from SQL Server 00:11:06
    10. Chapter 10 : File Access – Web Forms Version
      1. Create a Page That Saves Text to Disk 00:09:42
      2. Create a Page That Uses the File Upload Control 00:09:46
      3. Serializing and Deserializing Objects 00:11:50
      4. Having a Little Fun with Images with Pixel Manipulations 00:08:42
      5. Saving an Image to SQL Server 00:11:04
    11. Chapter 11 : XML Basics – Web Forms Version
      1. Creating and Using an XML File 00:07:57
      2. Creating XML Files with C# 00:06:15
      3. Querying XML Documents with Linq 00:10:41
    12. Chapter 12 : C# through Console Apps
      1. Create and Run your First Program 00:08:21
      2. Create and Use One Variable 00:04:33
      3. Blocks, Statements, and Variable Scope 00:05:22
      4. Formatting Output Strings to Make Them Look Professional 00:07:22
      5. Describe the World Better with More Variables 00:05:03
      6. Describe the World More Accurately with Different Data Types 00:07:16
      7. Computed Variables and Basic Math 00:04:18
      8. Interacting with Users through Command Prompt 00:05:52
      9. Make, Install, and Run a Simple Application 00:07:01
    13. Chapter 13 : Controlling Program Flow, Console Version
      1. Checking One Condition with If/Else Constructs 00:04:15
      2. Repeating Blocks of Code with While Loops 00:05:10
      3. Making Decisions with Multiple If/Else Blocks 00:05:48
      4. Repeating Blocks of Code with For Loops 00:06:09
      5. Iterating through Collections with ForEach Loops 00:06:11
      6. Do/While Loops 00:04:27
      7. Examining Multiple Variable Values with Switch Blocks 00:08:04
      8. Controlling Loops with Break and Continue Statements 00:05:34
      9. Improving Input Processing with TryParse 00:05:31
    14. Chapter 14 : Operators – Console Version
      1. Logical "AND" Operator 00:07:57
      2. Logical "OR" Operator 00:07:11
      3. Compound, Prefix, and Postfix Operators 00:08:17
      4. The Ternary Operator 00:07:36
    15. Chapter 15 : Fundamentals of Arrays – Console Version
      1. What Are Arrays, and How to Fill and Read Them? 00:10:09
      2. Looping Through Arrays with For and ForEach Loops 00:07:03
      3. Reference Type and Value Type Variables 00:08:12
      4. Multidimensional Arrays 00:09:46
    16. Chapter 16 : Introduction to Functions, or Methods – Console Version
      1. Create a Single, Static Method 00:08:04
      2. Passing Arrays as Function Arguments 00:05:56
      3. Using the Params Keyword in Function Headers 00:05:38
      4. Out Keyword for Returning Multiple Values 00:06:04
      5. The Ref Keyword for Passing Simple Types by Reference 00:05:38
      6. More Flexible Code with Dynamically Typed Variables 00:06:13
      7. Using Enumerations to Make Lists of Named Constants 00:08:33
    17. Chapter 17 : Object-Oriented Programming – Console Version
      1. Create a Simple Class, Add a Constructor, and Add One Behavior 00:08:07
      2. Using the Class Designer and the Object Class 00:06:09
      3. Instance Variables, and Accessing Them through Properties 00:10:28
      4. Static Fields, Properties, and Methods 00:11:48
      5. Understanding the Purpose Of Inheritance 00:12:09
      6. How to Make and View Arrays of Custom Types 00:08:03
      7. Virtual Methods, and Why They Are Needed 00:08:24
      8. Abstract Classes, Methods, and Why They Are Used 00:08:24
      9. A Small Sample of the Power of Generics and Linq 00:08:09
      10. Writing Less Code with Polymorphism 00:10:57
      11. Interfaces, and What Purpose They Serve 00:08:55
      12. Overloading Operators, and Why It's Necessary to Do So 00:07:27
      13. String Class and Cleaning Strings 00:10:24
      14. Namespaces Used to Group Related Functionality 00:07:36
      15. Handling Exceptional Situations with Try/Catch/Finally 00:07:17