Learn C# by Building Applications

Video description

To learn a programming language, it is crucial to understand the basic and fundamental concepts. Most of the courses teach the fundamentals with raw theory and this makes the learning boring. But not this video course. With this course, you will learn the basic concepts of C# by building console applications from the beginning.

The course starts by making you ready to build applications in C# by guiding you through the installation process of Visual Studio Community 2022, and by teaching you how to handle updates and do self-troubleshooting. Once you are up with Visual 2022, you will program interesting console applications such as a simple calculator, word unscrambler, simple web scraper, and sudoku solver. By building all these applications, you will become friendly with C# core concepts such as acceptance criteria, algorithm, flowchart, variables, expressions and operators, objects and classes, methods, arrays, loops, constructors, exception handling, unit testing, and a lot more C# topics.

Toward the end, you will find out what’s new in C# 7 and how you can use the updated features in application building.

By the end of this course, you will have developed basic C# skills that are needed for building simple .NET console applications.

What You Will Learn

  • Find out the installation process of Visual Studio Community 2022
  • Distinguish between Visual Studio 2015, Visual Studio 2019, and Visual Studio 2022
  • Write error-free programs in C#
  • Become familiar with C# concepts by building console applications
  • Explore the latest features of C# 7
  • Write unit tests to verify the application functionality


If you are new to C#, or an experienced software developer, who wants to learn the core concepts of C# for building .NET console applications, then this course is for you. Basic knowledge of C# is recommended, however, not mandatory. The course will require you to download and install Visual Studio Community 2022.

About The Author

Avetis Ghukasyan: Avetis Ghukasyan is a passionate web developer who believes that with hard work, dedication and consistency, anybody can learn and develop strong technical skills—even if that individual has no prior knowledge of it and feels like a complete beginner. He also believes that understanding concepts is much more important than memorizing them.

Table of contents

  1. Chapter 1 : Setup
    1. Thank You
    2. Installing Visual Studio 2022
    3. Few Words about the Recent Updates
    4. Visual Studio 2015 Versus 2019 and 2022
  2. Chapter 2 : Simple Calculator
    1. Acceptance Criteria
    2. Algorithm
    3. Flowchart
    4. Variables
    5. Expressions and Operators
    6. Converting a String to a Number
    7. Order of Evaluation
    8. String Manipulation, Formatting, and More
    9. Conditional Statements
    10. Objects and Classes
    11. Methods
    12. Static Versus Non-static
    13. Exceptions and Throw Keyword
    14. Try-Catch-Finally
    15. Writing Simple Calculator
    16. Writing Simple Calculator Unit Tests
  3. Chapter 3 : Word Unscrambler
    1. Acceptance Criteria
    2. Algorithm
    3. Flowchart
    4. Lists
    5. Arrays
    6. Array Sort and More
    7. For Loop
    8. While Loop
    9. Do While Loop
    10. Foreach Loop
    11. Iterating Lists and Arrays
    12. Reference Versus Value Types
    13. Classes Versus Structs
    14. Out Versus Ref Parameters
    15. Null and Null coalescing
    16. Read-Only Versus Constant
    17. Read and Write Files
    18. Don't Repeat Yourself (DRY) Principle
    19. Writing Program – Part 1
    20. Writing Program – Part 2
    21. Writing the File Reader
    22. Writing a Word Matcher
    23. Writing Constants
    24. Writing Word Unscrambler Unit Tests
  4. Chapter 4 : Simple Web Scraper
    1. Acceptance Criteria
    2. Algorithm
    3. Flowchart
    4. Fields
    5. Properties
    6. Constructors
    7. Object-Oriented Programming
    8. Encapsulation and InternalsVisibleTo
    9. Using Keywords
    10. Builder Pattern
    11. Single Responsibility Principle
    12. Hypertext Markup Language (HTML) Basics
    13. Regular Expressions
    14. Writing Both Builders
    15. Writing Scraper
    16. Writing Program – Part 1
    17. Writing Program – Part 2
    18. Writing Simple Web Scraper Unit Tests
  5. Chapter 5 : Sudoku Solver
    1. Acceptance Criteria
    2. Algorithm
    3. A Flowchart
    4. StringBuilder
    5. Jagged Arrays Versus Multidimensional Arrays
    6. Dependency Injection
    7. Interfaces
    8. Abstract Classes
    9. Interfaces Versus Abstract Classes
    10. Polymorphism
    11. Language Integrated Query (LINQ) Introduction
    12. Writing Sudoku File Reader
    13. Writing Sudoku Mapper
    14. Writing the Sudoku Board Displayer
    15. Writing the Sudoku Board State Manager
    16. Writing the Sudoku Solver Engine
    17. Writing the Simple Markup Strategy – Part 1
    18. Writing the Simple Mark Up Strategy – Part 2
    19. Writing the Naked Pairs Strategy – Part 1
    20. Writing the Naked Pairs Strategy – Part 2
    21. Fixing a Few Bugs
    22. Writing the Program
    23. Writing Unit Tests – Part 1
    24. Writing Unit Tests – Part 2
  6. Chapter 6 : Updates in C# 7
    1. C# 7 Features
    2. Out Variables
    3. Throw Expressions
    4. Binary Literals Digit Separators
    5. Expression Bodies
    6. Ref Locals and Returns
    7. Deconstruction
    8. Local Functions
    9. Pattern Matching - Part 1
    10. Pattern Matching - Part 2
    11. Tuples

Product information

  • Title: Learn C# by Building Applications
  • Author(s): Avetis Ghukasyan
  • Release date: October 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781800562721