AllTheTimeWorld.com

csharp introductionIntroduction to C#

Introduction to C#

Learn C# (C sharp) in FREE step-by-step lessons.

Introduction to C#

Create your first C# program

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.

In order to do this you will:

Please study the material at each of the links below.

  1. Microsoft Reference: C# Guide Microsoft Reference: C# Guide: Complete Microsoft Reference for C#

  2. Create your first Program Create your first Program: Step-by-step instructions for creating a C# windows form application
    /csharp/videos/csharp-start.mp4
  3. The Menu: Describes the items you will see on menu after you start a C# project.

  4. Your first Program: Hello World Your first Program: Hello World: Shows how to change the text and backcolor of the form at design time.
    /csharp/videos/csharp-properties.mp4
  5. Adding Pictures in Hello World Program Adding Pictures in Hello World Program: Shows how to add a picture for the background and change some settings
    /csharp/videos/csharp-pictures.mp4
  6. Changing Pictures in Hello World Program Changing Pictures in Hello World Program: Shows some additional setting for the background image
    /csharp/videos/csharp-pictures2.mp4
  7. Files in your project Files in your project: Looks at the files that are created as part of a C# project and how to zip the entire folder.
    /csharp/videos/csharp-files.mp4
  8. Active Learning: Review what you have learned: Suggestions for practicing what you have learned.

  9. Self Study Questions