C# Tutorial for Absolute Beginners [New]

Want to learn a different programming language? C# is a great place to start. Step through 24 practical and easy-to-understand C# training episodes, with our talented friend Bob Tabor, from Developer University, as he teaches you the fundamentals of C# programming. Tune in to learn the basics of the C# language, and learn to apply them in your programming endeavors, like video games, mobile environments, and client apps.

Learn C# by stepping through the basics with Bob: get the tools, see how to write code, debug features, explore customizations, and much more! Search for and focus on the information you need, in this C# for beginners course, which has topics separated out into individual videos. Get to know the grammar, create and use methods, manipulate strings, and see how to handle events. Plus, get a look at next steps as you learn to develop Windows and web applications.

1 | Course Introduction
Hear an introduction to the topic, learn expectations for the series, and hear tips on how to get the most out of it. Plus, find out where to download the software you need.

2 | Installing Visual Studio
Get the details on installing Visual Studio.

3 | Creating Your First C# Program
Learn how to create a simple application, and get an explanation of common solutions to different problems you might encounter as you begin writing and compiling code.

4 | Understanding Your First C# Program
To better understand the grammar of C# at a high level, return to the program we just built to break apart each of the key words and symbols.

5 | Working with Code Files, Projects, and Solutions
Learn how to open and close individual files in a project, the relationship between projects and solutions, and more.

6 | Understanding Data Types and Variables
Add C# syntax to your vocabulary by exploring fundamental building blocks: data types and variables. In addition, learn about basic topics, such as naming conventions and data type conversions.

7 | The if Decision Statement
Get an introduction to the if Decision statement, along with the conditional operator. Find out how to refactor code to make it more compact and less likely to produce errors.

8 | Operators, Expressions, and Statements
Learn how to create a properly formed C# statement made up of expressions that include operators and operands. Hear about compilation errors that occur when the syntax rules of C# are ignored.

9 | for Iteration Statement
Look at several different types of iteration statements, how to utilize “code snippets” to help remind you of the syntax for this complex statement, and debugging in action.

10 | Understanding Arrays
Learn about arrays, and see how to declare and utilize arrays. Watch demos on a couple of powerful built-in methods that give arrays added features.

11 | Defining and Calling Methods
Create a helper method, create and call methods to retrieve a value, create and use input parameters, learn about string formatting, and create overloaded methods.

12 | While Iteration Statement
Learn a new iteration statement that allows you to continue performing a block of code until a condition is no longer true.

13 | Working with Strings
Look at built-in String methods to manipulate the content inside of a literal string and at the StringBuilder class for concatenating many strings together in a memory- and resource-friendly manner.

14 | Working with Dates and Times
Find out how to work with Date and Time data, how to create new instances of DateTime, how to add time, and how to format the data for display. Take a look at the TimeSpan class.

15 | Understanding Classes
Learn how classes are defined and new instances are created, how to define Properties, and how to both set values and get values for a given instance of the class.

16 | More About Classes and Methods
Dig into more details about classes: create a new instance, add class references, pass the reference to a method. Plus, review overloaded methods, static versus instance methods, and constructors.

17 | Understanding Scope and Accessibility Modifiers
Explore variable scope and how accessibility modifiers are used by the .NET Framework Class Library to expose or hide implementation of their given services to consumers of that given class.

18 | Understanding Namespaces and Working with the .NET Class Library
Learn about namespaces and how to find the classes for your applications by searching Bing and MSDN.

19 | Creating and Adding References to Assemblies
Learn about .NET assemblies: code libraries and executables, debug and release versions of assemblies. Plus, see how to reference assemblies, utilize NuGet, and create references to custom libraries.

20 | Working with Collections
See an “old style” collection, along with several of the newer, strongly typed generic collections (List and Dictionary) utilizing the generics syntax.

21 | Working with LINQ
Explore Structured Query Language and the LINQ syntax. See a demo projecting data onto existing types and new anonymous types.

22 | Enumerations and the Switch Decision Statement
See a demo on the use of Enumerations, create a custom enumeration, and then use it in a simple application that demonstrates a third Decision statement, the switch.

23 | Gracefully Handling Exceptions
Learn how to use the try catch finally block to anticipate potential problems so as to shield the end user from those problems as much as possible. Explore best practices when checking for exceptions.

24 | Understanding Events and Event-Driven Programming
Learn how events are utilized in the .NET Framework Class Library. Begin with the Timer class, and graduate to building a basic “Hello world” application.

25 | Where to Go from Here
Hear approaches to solving common issues, where to go for help, how to search for answers, and become part of the .NET community. View a long-term path to learn more about developing applications.
Read next:
C# Tutorial for Absolute Beginners [New]