C# for Automated Testing

During this course you’ll learning the basics of C#, object oriented programming and some more technical aspects of C#.  Thus, this is not a full blown C# course, instead it only contains those parts of C# which might be useful for an automation engineer.

Course contents

This course will cover, among other things:

  • C# basics
  • Types and type casting
  • Methods
  • Conditional and looping statements
  • Arrays, collections and enums
  • Classes and objects
  • Interfaces

Each section consists of theory (mostly video material) and some exercises on the topics which are handled within this section and the sections before.

Remarks:

  • This is not a programming course, you will not learn how to write code.  You should have a basic programming knowledge and you will learn how to use this knowledge within the C# programming language.  So, to understand everything during this course a basic programming knowledge might be required.
  • For this course we assembled a list of videos, exercises, quizzes, … from different sources.  We ordered everything in a way that we believe is a good way to learn this course.

Upcoming events

Getting Started

1
C# – Getting started with Visual Studio 2019
19:39

A short introduction to Visual Studio 2019

2
C# – Getting started with Visual Studio 2017
8:48

A short introduction to Visual Studio 2017

3
C# – Getting started with Visual Studio 2015
11:19

A very short introduction to Visual Studio 2015

C# Basics

1
C# – Variables
6:23

We will start by introducing the concept of a Console application. Afterwards you will learn about variables and how to use them.

2
C# – Built-in types
7:09

Learn more about the built-in types like: string, char, boolean, integral, floating and decimal types

3
C# – Built-in data types – String
22:57

Learn more about the basic string usage, escaping characters and verbatim literal

4
C# – Built-in data types – Numbers
10:25

Learn how to working with numbers and how you can use the Math() class

5
C# – Common operators
13:12

Learn about different types of operators, like the assignment, arithmetic, comparison, conditional, ... operators

6
C# – Arrays
8:32

Learn how to create and work with arrays

7
C# – Methods
16:14

Learn how to create and call simple methods, but also how you can create a method which will return a value.

8
C# – Comments
7:38

Learn how you can document your code.

9
C# – Multidimensional arrays
4:13

2d arrays

10
C# – Data type conversions
16:27

Learn about implicit and explicit conversions, and how you can use Parse() and TryParse()

11
Quiz: C# Basics
12 questions

Very simple quiz to check if you known the basics of C#

12
C# – Exercise 1 – Working with strings and numbers
13
C# – Exercise 2 – Working with variables
14
C# – Exercise 3 – Arrays
15
C# – Exercise 4 – Multidimensional arrays
16
C# – Exercise 5 – Methods

Flow control and conditional statements

1
C# – Conditional statement if
15:30

Learn how to build conditional statement by using if / else

2
C# – Conditional statement switch
8:08

Learn how to improve a conditional statement with the switch statement

3
C# – Loop statement while
8:49

Learn how to create loop statements using while

4
C# – Loop statement for
9:55

Learn how to create loop statements using for.

5
C# – Exercise 6 – Conditional statements
6
C# – Exercise 7 – Loops

Classes and objects

1
C# – Classes & objects introduction
13:04

Learn about classes, objects and instances and how they are related

2
C# – Constructors
10:08

Learn about the usage of a constructor and how to implement this into a class

3
C# – Object methods
7:10

Learn how to add actions/methods to a class/object

4
C# – Getters & setters
11:48

Learn about a special type of class methods, named properties (or getters and setters), and how to implement these

5
C# – Static class attributes
7:54

Learn about the advantages of using static class attributes

6
C# – Static methods & classes
6:08

Just like static attributes a class can also contain static methods and the class itself can also be static. Learn about the benefits of implementing this.

7
C# – Exercise 8 – Classes and objects
8
C# – Exercise 9 – Static attributes, methods and classes

Object oriented programming

1
C# – OOP introduction
9:15

Brief introduction to the base concepts of object oriented programming and why we should use this

2
C# – Inheritance
10:08

Learn more about the concept of inheritance, followed by extending and overriding

3
C# – Access modifiers
4:35

What are access modifiers (like public, private, internal and protected) and how are they used within object oriented programming

4
C# – Interfaces
20:07

Learn about interfaces and how to use them

5
C# – Abstract classes
14:35

Learn about abstract and sealed classes, and compare them with the usage of interfaces.

6
C# – Exercise 10 – Inheritance
7
C# – Exercise 11 – Interfaces

Final Section

1
C# – Final Lesson

Be the first to add a review.

Please, login to leave a review
Add to Wishlist
Enrolled: 6 students
Duration: 5h10
Lectures: 40
Level: Beginner

Blog posts

This website uses cookies and asks your personal data to enhance your browsing experience.