Learn C# By Building Applications

Video description

Take a hands-on approach to understanding the core concepts of C# 6 and C# 7 and use them to build real-world .NET console applications

About This Video

  • Get to grips with the core topics of C#
  • Build interesting real-world .NET console applications
  • Write elegant, readable, and clean C# code with confidence

In Detail

To learn any programming language, it is crucial to first understand its basic and fundamental concepts. Most courses teach you the fundamentals with raw theory, making the learning process boring. But with this course, you’ll learn the basic concepts of C# by building console applications from scratch.

The course starts by preparing you to build applications in C#. It will guide you through the installation process of Visual Studio Community 2019 and teach you how to handle updates and perform self-troubleshooting. Once you get up and running with Visual 2019, you’ll program interesting console applications such as a simple calculators, word unscramblers, simple web scrapers, and sudoku solvers. Building all these applications will familiarize you with C#’s core concepts such as acceptance criteria, algorithm, flowchart, variables, expressions and operators, objects and classes, methods, arrays, loops, constructors, exception handling, and unit testing. Towards the end, you’ll 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’ll have developed basic C# skills that you’ll need for building simple .Net console applications.

Who this book is for

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 but not mandatory. You will need to download and install Visual Studio Community 2015 before getting started with this course.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Setup
    1. Installing Visual Studio Community 2019
    2. Handling Updates
    3. Visual Studio 2015 vs. 2019 and advice on Self-troubleshooting
    4. Correct Mindset for this Course
  2. Chapter 2 : Simple Calculator
    1. Acceptance Criteria
    2. Algorithm
    3. Flowchart
    4. Variables
    5. Expressions and Operators
    6. Converting a String to Number
    7. Order of Evaluation
    8. String Manipulation, Formatting, and More
    9. Conditional Statements
    10. Objects and Classes
    11. Methods
    12. Static vs. 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 vs. Value Types
    13. Classes vs. Structs
    14. Out vs. Ref Parameters
    15. Null and Null-coalescing
    16. Readonly vs. 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 Keyword
    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. Flowchart
    4. StringBuilder
    5. Jagged Arrays vs. Multidimensional Arrays
    6. Dependency Injection
    7. Interfaces
    8. Abstract Classes
    9. Interfaces vs. 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