Learning to program C# - from data types to object-oriented programming (video tutorial)
- Learn to program C# - ideal for beginners and suitable for anyone who wants to deepen their knowledge
- All the important basics: data types, methods, operators, arrays and loops
- Perfect for beginners: object-oriented programming and databases
- WPF and LINQ: Create a user interface (GUI) and query data from various sources
- 11 hours with trainer Uwe Sawinski - and you simply realize your C# software ideas yourself!
From data types to object-oriented programming - become a C# programming pro in no time with this course!
87 Videos, 667 minutes
Intro to the C# tutorial
C# programming: 1 | What can you expect in the course?
4 minWould you like to learn how to program in C# and need an A-Z course that explains programming using practical examples? Would you like to learn more about object-oriented programming and control structures? Then this complete From Beginner to Expert C# Masterclass is for you.
Download, installation, and update of Visual Studio Community
C# Programming: 2.1 | Download and install Visual Studio Community
5 minLearn how to download and install Microsoft Visual Studio Community.
C# programming: 2.2 | Create first project
1 minIn this lesson you will create your first project in C#.
C# programming: 2.3 | Installing components or language packages subsequently
4 minIn this lesson, you will learn how to install various required components or language packages in Visual Studio at a later date.
C# programming: 2.4 | Update of modules
3 minIn this lesson you will learn how to install module updates from the Visual Studio user interface.
C# programming: 2.5 | Update of Visual Studio
13 minIn this lesson, you will learn how to update the Visual Studio program yourself from the user interface.
Introduction to the user interface of Visual Studio
C# programming: 3 | Overview of the Visual Studio interface
7 minIn this lesson you will get an overview of the C# Visual Studio user interface.
Introduction to the source code editor, creation of the first program
C# programming: 4.1 | Explanation of the components in the source code editor
11 minHere you will learn how to create source code in C# Visual Studio.
C# programming: 4.2 | Hello world! Our first small program in C#
4 minYou will learn how to compile your first source code in C# Visual Studio.
C# programming: 4.3 | Comments in source code
2 minYou will get an overview of how you can insert comments in the source code and what they are important for.
C# programming: 4.4 | Enlarge/reduce console (Console) and change background color
5 minIn this lesson, you will learn how to change the size and color of the Console output window.
Introduction to data types and fundamentals
C# programming: 5.1 | What are data types and what types are there?
4 minThis lesson gives you an overview of the different data types.
C# programming: 5.2 | Examples of data types part 1 (e.g. integer)
7 minIn this lesson, you will learn about different data types using examples, e.g. integer.
C# programming: 5.3 | Examples of data types part 2 (e.g. float, double, decimal)
7 minIn this lesson, you will learn about different data types using examples, e.g. float, double and decimal.
C# programming: 5.4 | Examples of data types part 3 (e.g. strings incl. methods and properties)
10 minIn this lesson you will get to know the data type strings including methods and properties.
C# programming: 5.5 | Examples of data types part 4 (e.g. string methods such as search, change)
9 minIn this lesson, you will learn about and use the string methods Find and Change, among others.
C# programming: 5.6 | Naming, code and layout conventions
5 minIn this lesson, you will learn about and apply various naming, code and layout conventions.
C# programming: 5.7 | Data type conversion
9 minHere you will learn how to convert a data type into another data type.
C# programming: 5.8 | Global and local constants
6 minThis lesson explains the difference between global and local constants.
Methods
C# programming: 6.1 | Definition of methods
5 minIn this lesson, you will learn what methods are, how to create them and what they are used for.
C# programming: 6.2 | Methods without return value (Void)
5 minIn this lesson, you will learn what methods without a return value are.
C# programming: 6.3 | Methods with return value (first part)
8 minIn this first lesson on methods with return values, you will learn how to create and use them.
C# programming: 6.4 | Methods with return value (second part)
6 minIn this second lesson on methods with return values, the knowledge is deepened.
C# programming: 6.5 | Methods with return value/debugger (third part)
12 minIn this third lesson on methods with return values, the knowledge is deepened.
C# programming: 6.6 | Exercise for creating methods
1 minIn this exercise, you will be asked to create your own methods.
C# programming: 6.7 | Solution for creating methods
5 minThis lesson deals with the task from the last lesson and explains the solution.
Operators
C# programming: 7.1 | Overview of the types of operators
2 minIn this lesson, you will learn about the different types of operators.
C# programming: 7.2 | Arithmetic operators
5 minThe arithmetic operators are explained here.
C# programming: 7.3 | Comparison operators
3 minThis lesson deals with the comparison operators.
C# programming: 7.4 | Logical operators
4 minIn this lesson, you will learn about logical operators and how to use them.
C# programming: 7.5 | Assignment operators
4 minIn this lesson, you will learn about assignment operators.
C# programming: 7.6 | String concatenation
3 minIn this lesson you will learn about string concatenations.
Decisions/control structures
C# programming: 8.1 | Making your first simple decisions in C#
5 minIn this lesson you will learn how to deal with decisions within the program code.
C# Programming: 8.2 | If-Else-If-Else-Decisions/Control Structures
6 minYou will be introduced to the use of If-Else-If.
C# programming: 8.4 | Nested if-queries (if-statements)
7 minIn this lesson, you will learn how to use nested If queries.
C# Programming: 8.5 | Nested If Queries (Part 2)
3 minIn the second lesson on nested If queries, the knowledge is deepened further.
C# programming: 8.6 | Shorthand If, Else, If, Else (the ternary conditional operator)
12 minThis lesson explains the simplified handling of simple If queries.
C# programming: 8.7 | Switch statement (Switch, Case)
11 minIn this lesson, you will learn about the switch instruction and how to use it.
Loops/Loop Types
C# programming: 9.1 | Overview of the different loops
3 minYou will receive an overview of the different types of loops.
C# programming: 9.2 | For-Loop
7 minIn this lesson you will learn how to use the For loop.
C# programming: 9.3 | For loop with a double variable
4 minThis lesson deals with the For loop with a double variable.
C# programming: 9.4 | Do-While-Loop incl. Break
12 minThe use of the do-while loop including break is explained in this lesson.
C# programming: 9.5 | Solution for the do-while loop task
14 minYou will receive a detailed explanation of the solution to the task set.
C# programming: 9.6 | While loop
7 minIn this lesson, you will learn how to use a while loop.
C# programming: 9.7 | Break and Continue
10 minThis lesson deals specifically with the break and continue options.
Object-oriented programming (OOP)
C# programming: 10.1 | Introduction to object-oriented programming (OOP)
7 minYou will gain an overview of OOP (object-oriented programming).
C# programming: 10.2 | Creating your own class
13 minYou will create your first own class.
C# programming: 10.3 | The constructor
8 minThis lesson explains the constructor and what it is used for.
C# programming: 10.4 | Using multiple constructors in a class
8 minYou will learn how to use multiple constructors in a class.
C# programming: 10.5 | Properties/Get- and Set-Properties
16 minIn this lesson, you will learn how to use get and set properties.
C# programming: 10.6 | Finalizer/Destructors
4 minIn this lesson, you will learn how to use finalizers (formerly known as destructors) using examples.
C# Programming: 10.7 | Inheritance (Part 1)
31 minIn the first part of the two lessons on inheritance, you will learn what inheritance means and how to use it. You will also be asked to create a subclass yourself.
C# programming: 10.8 | Inheritance (part 2, solution subclass)
7 minIn this lesson you will find the solution to the task Create a subclass.
C# programming: 10.9 | Polymorphism
15 minIn the last part of the OOP section, polymorphism is explained using examples.
Arrays
C# Programming: 11.1 | Arrays: Introduction and basics
6 minIn this lesson, you will learn about arrays and the basics of using them.
C# programming: 11.2 | Arrays: Practical examples
12 minIn this lesson, the use of arrays is explained in more detail using practical examples.
C# programming: 11.3 | ForEach-Loop/Foreach-Loop
11 minYou will learn how to use ForEach loops and their advantages.
C# programming: 11.4 | 2-dimensional arrays
8 minIn this lesson, the use of 2D arrays is explained using examples.
C# programming: 11.5 | 3-dimensional arrays
8 minIn this lesson, the use of 3D arrays is explained using examples.
C# programming: 11.6 | Jagged arrays (branched/jagged arrays)
8 minYou will learn the difference between the arrays and the JaggedArray is explicitly discussed here.
C# programming: 11.7 | ArrayList
16 minThis lesson explains how to use ArrayList using examples.
Practical examples – advanced C# areas
C# programming: 12.1 | Reading text files
9 minThis lesson uses an example to show how to read in text files.
C# programming: 12.2 | Writing text files
11 minThis lesson uses an example to show you how to write text files.
C# programming: 12.3 | Delegates
8 minIn this lesson, you will learn what delegates are and how they are used.
C# programming: 12.5 | Enumerations (Enums)
10 minUsing examples, you will learn what enumerations are.
C# Programming: 12.4 | Lambda Expressions
9 minThis lesson explains how to use lambda expressions.
WPF (Windows Presentation Foundation)
C# programming: 13.1 | WPF: Introduction and possible installation
3 minIn this lesson, preparations are made for working with WPF and creating GUIs.
C# programming: 13.2 | WPF: New IDE tools
6 minYou will get to know the new IDE tools for using WPF.
C# programming: 13.3 | WPF: Textbox
16 minYou create the first text box in the WPF environment.
C# programming: 13.4 | WPF: Button/Button-Click-Event/Dependency Properties
13 minIn this lesson, the button and the button-click event are explained and applied using examples.
C# programming: 13.5 | WPF: ComboBox/SelectionChanged and Loaded-EventHandler
11 minYou will learn how to use ComboBoxes and how to react to changes within the ComboBox.
C# programming: 13.6 | WPF: Tool tip
3 minIn this lesson, a useful tool (the tool tip) is used and discussed.
Use of databases in C#
C# programming: 14.1 | Introduction to the use of databases and chapter overview
2 minIn this introduction, you will learn why SQLite databases are used and in which environment they are used.
C# programming: 14.2 | Download required packages from the NuGet package manager
5 minThis lesson shows how to search for the required packages with the NuGet package manager for the use of SQLite databases and then install them.
C# programming: 14.3 | Establishing a connection to the SQLite database (incl. connection string)
4 minYou will learn how to set up and use a connection to an SQLite database.
C# programming: 14.4 | Create database and database table; fill table with initial data
10 minIn this lesson you will create your first database with the corresponding database tables.
C# programming: 14.6 | Fill ListBox with data from the SQLite database
14 minIn this lesson, the first data is selected from the database and displayed in a ListBox.
C# Programming: 14.7 | Link ListBox with a TextBox and display SQLite data
8 minIn this lesson you will learn how to link a TextBox to a ListBox and how to display and filter data in the ListBox.
C# programming: 14.8 | Inserting data into a SQLite database
8 minIn this lesson, user input is inserted and saved in the SQLite database.
C# programming: 14.9 | Changing data in a SQLite database
5 minIn this lesson you will learn how to change existing data in the SQLite database.
C# programming: 14.10 | Deleting data from a SQLite database
5 minThis lesson uses an example to show how to delete data from an SQLite database.
LINQ (Language Integrated Query)
C# programming: 15.1 | What is LINQ? First introduction
2 minYou will receive an initial introduction to LINQ and its use.
C# programming: 15.2 | LINQ and array queries
5 minUsing examples, you will learn how to use LINQ in conjunction with arrays.
C# programming: 15.3 | LINQ: Filtering and sorting
6 minThis lesson is about filtering and sorting using LINQ queries.
C# programming: 15.4 | LINQ: Using classes and lists
7 minYou will learn how to handle and use LINQ with the corresponding classes.
C# programming: 15.5 | LINQ: XML files and collections
9 minThis lesson shows how LINQ enables and simplifies working with XML files.
C# programming: 15.6 | LINQ: Edit class XElement/XML file from the Internet
8 minHere you will learn how to use the XElement class in relation to XML files.
Comment now „Learning to program C# - from data types to object-oriented programming (video tutorial)“