AllTheTimeWorld.com

csharp variablesVariables

Variables

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

Variables

Declaring and assigning values to variables

A variable is a named location in memory. A variable allows us to store data that is input or calculated. Variables can vary, or change.

In order to do this you will:

Please study the material at each of the links below.

  1. Microsoft Reference Microsoft Reference: C# Types and Variables

  2. Variables: Variable definition, types, and how to declare variables

  3. Variable Types: Object types

  4. Drill on type Drill on type: Self study drill to make sure you understand

  5. Variable Names: Rules and guidelines for naming variables

  6. Drill on Names Drill on Names: Self study drill to make sure you understand

  7. Declaring Variables: Syntax for statment to declare a varaible

  8. Assigning Values to a Variable: Syntax of the assignment statement to give value to variable

  9. Global Variables Global Variables: A global variable can be accessed, changed,
    or modified anywhere in the program.
    /csharp/videos/csharp-counter.mp4
  10. Using the local directory Using the local directory: This shows how to store pictures or other files in the local directory
    /csharp/videos/csharp-localdirectory.mp4