Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 3.54 KB

File metadata and controls

68 lines (44 loc) · 3.54 KB

Coderschool C# Beginners Course

Course Overview

This repository contains practice exercises for the Coderschool C# beginners course. The course covers the following topics:

1. Introduction to C#: Get started with C# programming language. Learn about the history of C# and its importance in software development.

2. Data, Value, and Variables: Understand the basics of data types, variables, and constants in C#.

3. Conversion & Operators: Explore type conversion, arithmetic, comparison, and logical operators in C#.

4. Non-Primitive Data Types: Learn about arrays, strings, and other non-primitive data types in C#.

5. Scope & Conditional Flow: Understand scope, if statements, switch statements, and loops in C#.

6. Functions: Explore function declaration, parameters, return types, and function overloading in C#.

7. Debugging and Defensive Programming: Learn debugging techniques and defensive programming practices in C#.

Getting Started

For total beginner with no tools or accounts install, to get started with the course materials, follow these steps:

Step 1: Download and Install Visual Studio Community or Visual Studio Code (for Mac User)

1. Go to the Visual Studio website: Visual Studio Community
2. Click on the "Download Visual Studio" button.
3. Run the installer and follow the on-screen instructions to install Visual Studio Community.

Step 2: Sign in or Create a Microsoft Account

1. Open Visual Studio Community after installation.
2. Sign in with your Microsoft account or create a new one if you don't have an account.

Step 3: Install Required Workloads

1. During the installation process, you will be prompted to select workloads.
2. For the CodeSchool C# Beginners Course, select the ".NET desktop development" workload.
3. You may also choose additional workloads based on your preferences.

Step 4: Clone the Project Repository from GitHub

1. Go to the GitHub repository for the CodeSchool C# Beginners Course.
2. Click on the "Code" button and copy the repository URL.
3. Open Visual Studio Community and select "Clone a repository" from the start window.
4. Paste the repository URL and choose a local path to save the project.
5. Click "Clone" to download the project files to your computer.

Practice Instructions:

  • The questions are all commented out in the code. Write your code in the empty spaces below them and test it out.
  • When moving onto a different question, comment it out using /* ... */ or ctrl+k+c and run it.
  • There are quizzes to be completed after Lesson 1, 2, 3, and another one after Lessons 4, 5, 6.
  • Most of the questions have hints and test data for you to view the output in case you need some help.
  • Visual Studio: To open the program and run the code,double-click on the solution file (.sln) in each question folder and not the Program.cs file.
  • Visual Studio Code: Use ls and cd to go to the current working directory with the Program.cs and use dotnet runs
  • There is also a practice on file manipulation in the quizzes folder which is optional.

Useful Links: