Skip to content

jamestglh/csharp-workbook

 
 

Repository files navigation

Austin Coding Academy

C# Workbook

Download Workbook files

  1. Fork this workbook to your account by clicking the "Fork" button
  2. On your forked repository, click the "Clone or download" button and copy the url
  3. On your computer create a folder that will contain your repository
  4. Open Git Bash and navigate to the folder created above
  5. Use git clone command to download the repository into your computer, replace "url" with the url from step 2.
    git clone "url"
    
  6. Navigate into the directory and leave the Git Bash open, we will use it later
    cd git-workbook
    

Open Workbook in Visual Studio Code

  1. cd into your csharp-workbook
  2. Open your workbook in VSCode code .
  3. The first time, you should be prompted to install the C# extension, click Install
  4. Open your integrated terminal by clicking View -> Integrated Terminal or pressing control + `

Run and modify a project

  1. Navigate into your first project cd ./01Week/HelloWorld
  2. Run the project in the integrated terminal dotnet run
  3. You should see Hello World!
  4. Go to the file in the file in the Explorer and change the text to say Hello <Your Name>!
  5. You should see Hello <Your Name>!

Create a Pull Request

This steps setup needs to be done only once. For future projects all you need to do is push you changes to the branch.

  1. Get back on Git Bash and check the status of your repository - You should see the file(s) you changed appear in red
    git status
    
  2. Stage the file(s) using:
    git add -A
    
  3. Commit that staged file
    git commit -m "Saying hello to myself"
    
  4. Push your changes up to your remote repository
    git push
    
  5. Head to your remote repository in GitHub
  6. Click on new pull request button and name it using your full name

If you are having some trouble with the steps watch this video here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.1%
  • Shell 0.9%