course-in-a-box Icon

Intro to Code with C#

A gentle introducing to coding with C#

Welcome to introduction to coding with C#! Here’s an overview of what we’ll cover in this course:

Lesson 1: Hello, Coder! - Start here!

  • Install Visual Studio
  • Create a “C# Console Application”
  • Write your first “hello world” code
  • Learn about what code actually is
  • Play with output and input statements
  • Knowledge Check!
  • Coding practice: Let’s write a story!

Lesson 2: Working With Data and Control Flow

  • Working with data: variables
  • Data types: bool, int, float, string
  • Manipulating data with operators
  • Control flow with if/else statements
  • Knowledge Check!
  • Coding Practice: Let’s write a Madlib!

Lesson 3: What’s Your Function?

  • What is a function?
  • Understanding curly braces
  • Writing our first functions
  • Passing data into and out of functions
  • Knowledge Check!
  • Coding Practice: Let’s have a conversation!

Lesson 4: You’ve Got Class

  • What’s a class?
  • Structure of a class
  • Member variables and methods
  • Let’s write some classes
  • Knowledge Check!
  • Coding practice: Let’s model a kitty!

Lesson 5: Putting it all together

  • Loops
  • Arrays and lists
  • Knowledge Check!
  • Coding Practice: Kitty Adventure!


Need some help?

Coming soon!

About Course-in-a-Box

This website uses the “Course-in-a-box” template.

P2PU created Course-in-a-Box in 2014 as a free and lightweight tool for building online courses. We wanted to preserve the modular structure of MOOCs outside of the bulky (and often proprietary) environment of learning/content management systems. Course-in-a-Box is open-source, and we welcome contributions on our Github repo.