Introduction to C#

In this lesson you will learn what C# is. You will download and install Visual Studio Community 2017.

You will learn to to use the IDE (integrated development environment) and write your first program: Hello World.


C# is an object oriented programming language. It is used to write Windows programs that are GUI and event driven.

It’s WHAT???

GUI: Graphical User Interface (pronounced gooey): the user can make choices with the mouse rather than having to type everything. He selects icons, option buttons, command buttons, and other graphic images, or pictures.

Object: An object combines both data (properties) and events (procedures). You will build your program from objects such as forms, command buttons, scroll bars, text boxes, picture boxes and timers. Each object (or control) has properties such as a name, width, color, and font. You write code for events that may happen to the control. Some of the events that can happen include click on it, double click it, or move the mouse over it, the user types in a text box, or a timer goes off. Different kinds of objects have different properties and events associated with them. For example, scroll bars have maximum and minimum properties, a timer has an interval property. Text boxes have properties such as font, font color, and font size. Most properties can be changed at both design time and at run time.

Event Driven: When you run an event driven program, it continuously checks to see if an event has occurred. When an event occurs, any code for that event is executed, then the cycle of checking for another event continues.

Please study the material at each of the links below.

  1. Microsoft Reference: C# Guide
  2. C#: Wikipedia
  3. What do I need?
  4. Create your first Program
  5. The Menu
  6. Your first Program: Hello World
  7. Adding Pictures in Hello World Program
  8. Changing Pictures in Hello World Program
  9. Files in your project
  10. Active Learning: Review what you have learned
  11. Self Study Questions
Like us on Facebook:


OER: Open Educational Resource
Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Creative Commons Attribution-NonCommercial 4.0 International License
Last modified: December 25 2017 16:21:15.