Skip to content

Updated: 30/11/2026

C# course online

C# is the language many Polish technical schools use to teach object-oriented programming and to write applications for the INF.04 exam. In BitWizards you learn it without installing Visual Studio and without signing in: the real C# compiler (Roslyn, the same one Visual Studio uses) and the .NET 10 runtime run in the browser, on the student’s computer. Compiler errors have the same codes and messages as in Visual Studio (for example CS0029), and the program reads input in an interactive console with Console.ReadLine(). Schools use the platform for free.

Who it is for

  • Technical schools: C# is one of the most popular languages for the practical part of the INF.04 exam. The course goes from the first program to classes, inheritance, collections and LINQ.
  • Students who know Java or C++: the syntax is very similar, so the course also shows the differences: properties instead of getters and setters, == on strings, switch expressions, decimal for money.
  • Teachers: no Visual Studio to install on school computers and no .NET versions to look after. A browser is enough, also on a Chromebook.

What you will learn

The C# Basics course (in Polish) has 12 topics and more than 240 examples and exercises. The topics follow the Java course.

  1. Introduction to C# - the Program class, Main, Console.WriteLine, first calculations, a condition and a loop.
  2. Literals, variables, types and operators - simple types, var and const, casts, integer division and remainder, decimal, overflow.
  3. Conditional statements - if/else, the classic switch and switch expressions with patterns, the ?: operator, comparing strings and double values.
  4. Loops and recursion - for, while, do-while, break and continue, nested loops, factorial, Fibonacci and prime numbers.
  5. Classes and objects - fields, properties, constructors, encapsulation, static members, method overloading.
  6. Inheritance and polymorphism - base, virtual and override, abstract classes, interfaces, ToString(), sealed and readonly.
  7. Arrays - one- and two-dimensional arrays, jagged arrays, copying, Array.Sort.
  8. Algorithms: sorting and searching - bubble, insertion and selection sort, linear and binary search, matrices.
  9. Library classes - Math, Random, string methods, StringBuilder, formatting, reading input with Console.ReadLine, int.Parse and int.TryParse.
  10. Exceptions and foreach - try/catch/finally, throw, custom exceptions, when filters, checked.
  11. Collections and LINQ - List<T>, Dictionary, HashSet, Queue, Stack and LINQ queries (Where, Select, OrderBy, Sum, GroupBy).
  12. Colours in the console - Console.ForegroundColor, BackgroundColor and ResetColor: a progress bar, a PASS/FAIL report and a colourful Christmas tree.

How C# works in BitWizards

  • A real compiler in the browser: Roslyn compiles the code and the WebAssembly build of .NET 10 runs it. The program runs in a separate browser thread, so an endless loop does not freeze the tab: Stop or the time limit ends it.

  • Errors like in Visual Studio: a message with the line number and error code in the console, and an underline in the editor. An unhandled exception points to the line in the student’s program.

  • Interactive console: Console.ReadLine() waits for input typed by the student; Console.ReadKey, colours and Environment.Exit work too.

  • Automatic checking: in tasks with a reference output, checking starts by itself after the run. A program that uses Console.ReadLine() is checked against several data sets, so printing a ready answer does not pass. Reference outputs come from real .NET.

  • No network: student code has no internet access.

  • Guest mode: without signing in you run examples, write your own code and complete tasks. Progress is saved in the browser.

  • Step-by-step execution: the Step button runs the program one statement at a time and highlights the current line. Next to it you see variable values (arrays, lists and objects too), the method call stack and how many times each line ran. The slider sets the animation pace, clicking a line number sets a breakpoint, and Pause stops the program wherever it is.

Where to start

Open the C# Basics course and run the first example, with no account and nothing to install.

WPF - .NET MAUI - Java - C++ - Python

Try the C# course without signing in

Frequently asked questions

Do I need to install Visual Studio or .NET?

No. The C# compiler (Roslyn, the same one Visual Studio uses) and the .NET runtime run in the browser, on the student's computer. Just open a lesson, also without signing in.

Does Console.ReadLine work?

Yes. The console behaves like a terminal: when the program calls Console.ReadLine(), it waits for you to type, then carries on. Tasks that read input are checked against several data sets.

How long does the first run take?

On the first lesson the browser downloads the .NET runtime with the compiler (about 6 MB) and caches it. The first compilation takes about 1 s in Chrome and Edge and a few seconds in Firefox; later ones are much faster.

Is C# used in the INF.04 exam?

Yes. C# is one of the most popular languages in the practical part of the Polish INF.04 exam: console applications, object-oriented programming and desktop window applications. WPF desktop apps and .NET MAUI mobile apps have their own courses, also in the browser; Windows Forms is not covered.

Start now

BitWizards is free. Try the demo without signing in, or sign in to the app to save your progress.

See how to get started