Programming Languages

Learn C#‎

80 short lessons with interactive exercises. You start from zero and move from beginner to advanced.

  • 80 lessons
  • 3 levels
  • Arabic & English
  • Start free

What you will learn

  • Write C#‎ programs using types, variables, conditions, loops and methods
  • Use arrays, collections and error handling to organize data and logic
  • Design classes and objects, and apply object-oriented programming principles
  • Process data with LINQ and run asynchronous tasks

About this course

A complete C#‎ course, from zero to pro: the basics, variables and data types, then control flow, loops, methods and collections, all the way to object-oriented programming, LINQ and asynchronous programming. A powerful, widely used language from Microsoft.

Skills

  • Game Development
  • Desktop Apps

Lessons

Every lesson is short, and the exercises after it lock in what you learned.

Beginner level

28 lessons
  1. Introduction to C#‎
  2. C#‎ and the .NET platform
  3. Creating your first program
  4. Program structure and the Main function
  5. Printing with Console.WriteLine
  6. Reading input with Console.ReadLine
  7. Writing Comments
  8. Variables
  9. Variable naming rules
  10. Data types
  11. Integers
  12. Decimal numbers
  13. Strings
  14. Formatting text
  15. Characters and Boolean values (char and bool)
  16. Using var
  17. Using const
  18. Converting between data types
  19. Converting text to numbers (Parse and TryParse)
  20. Arithmetic operations
  21. Order of operations
  22. Assignment operators
  23. Increment and Decrement (++ and --)
  24. Comparison operators
  25. Logical operators
  26. Making decisions with if and else
  27. Nested conditions
  28. The ternary operator

Intermediate level

28 lessons
  1. The for loop
  2. The while loop
  3. The do-while loop
  4. Controlling loops (break and continue)
  5. The switch statement
  6. Arrays
  7. The foreach loop
  8. Lists: List<T>
  9. Dictionaries: Dictionary<TKey, TValue>
  10. Sets with HashSet<T>
  11. Queues: Queue<T>
  12. Stacks with Stack<T>
  13. Functions
  14. Function parameters
  15. Returning values with return
  16. String methods
  17. Multi-line strings
  18. Date and time with DateTime
  19. Variable scope
  20. Optional parameters and named arguments
  21. Function overloading
  22. Using ref and out
  23. Handling errors
  24. Throwing exceptions with throw
  25. Creating custom exceptions
  26. Working with files
  27. Working with JSON
  28. Practice project

Advanced level

24 lessons
  1. Introduction to object-oriented programming
  2. Classes
  3. Objects
  4. Fields
  5. Properties
  6. Methods inside classes
  7. The constructor
  8. Using the word this
  9. Access modifiers
  10. Encapsulation
  11. Using the static keyword
  12. Inheritance
  13. Using the base keyword
  14. Virtual methods with virtual
  15. Overriding Methods: override
  16. Polymorphism
  17. Abstract classes
  18. Interfaces
  19. Generics
  20. Lambda expressions
  21. Querying with LINQ
  22. Asynchronous programming with async and await
  23. Tasks with Task
  24. The final project

Start your first lesson today

Get the Lammah app and pick “Learn C#‎” from the courses. Each lesson takes a few minutes, and you can start free.

Learn tech skills easily, for freeGet the app