
Learn how to use common operators in C#: arithmetic, relational, and logical operators, plus the ternary conditional operator. Understand operator precedence and pre/post increment with practical examples.
Explore how to write and use C# comments—single-line, multi-line, and XML documentation—and organize code with region blocks for easier navigation.
Explore datatype conversion and casting in C# by safely parsing user input with TryParse, handling invalid input, and using implicit and explicit casts, plus converting numbers and values to strings.
Learn to use the while loop to iterate arrays or collections, control flow with a boolean condition, and safely exit with a break, while avoiding out-of-range errors by using length.
Define an enum as a value type with named constants of an underlying integral type, and parse user input to operate on the enum instead of raw values.
Learn to use try-catch-finally to protect programs from runtime exceptions like index out of range, divide by zero, and null reference, with multiple catch blocks and guaranteed finally cleanup.
Define and use methods to encapsulate behavior, pass parameters, and control access with private fields and public getters, including an expression-bodied get date of birth example.
Discover how constructors create new person instances in C# by using parameterized constructors to set first name, last name, and date of birth. Learn constructor overloading and chaining with this(...).
Declare static members to count created instances and access them through the type, not objects; increment in constructors and use static properties and methods as global utilities.
Explore how interfaces define and enforce contracts. Contrast interfaces with abstract classes, note interface members are public and abstract by default, have no constructors, and support multiple interfaces.
Explore how arrays differ from dynamic collections in C#, and learn to use lists and dictionaries with generics to store, add, remove, and access typed items.
Explore how a dictionary enables fast key-value lookups in C# with string keys and currency objects, and safely manage missing keys via TryGetValue, add, and remove.
Build a phone book console app in C#, defining Contact and PhoneBook, enabling add, display by number, show all, and name-based search via a console menu.
Explore parsing strings to negative integers using a static boolean method with an out parameter, leveraging TryParse, and iterating input until a valid negative value is returned.
The course presents the most important issues of the C# language that are necessary to create web, mobile or desktop applications on the .NET platform.
With an organized theory of the C# language and practical tasks, the course is ideal for learning C# for people who are just starting their adventure with programming.
The course will familiarize you with the .NET Core platform, which is the latest tool from Microsoft for creating cross-platform applications, including web and web APIs.
Due to its high efficiency, open-source code, and the possibility of implementation on various systems, it is becoming more and more popular.
During the course, you will learn, among other things:
- use C# language to create console applications
- create your own classes and use built-in types
- control program flow using conditional statements and loops
- use collections in programs to store and manipulate data