Glossary
Learn C# (C sharp) in FREE step-by-step lessons.
%: Remainder operator: %(Lesson:
Arithmetic Operations)
&: A single ampersand is string concatenation, or bitwise AND, a double ampersand is the Boolean AND (Lesson:
Boolean Expressions in C#)
=: A single = is assignment operator, two == is Boolean operator. (Lesson:
Boolean Expressions in C#)
?: The conditional operator: ?(Lesson:
Boolean Expressions in C#)
   
The ? can be used for very simple Boolean expressions in place of if/else code@: @ is the verbatim identifier character.(Lesson:
Strings in C#)
\: Backslash: \ is escape character, turns special characters into string characters (Lesson:
Strings in C#)
|: A double || (pipe) is the Boolean OR, a single | is bitwise OR (Lesson:
Boolean Expressions in C#)
aboutBox: Add an About Box to a program(Lesson:
Forms in C#)
   
An About Box is one type of form that can be added to a program.algebra to code: Algebra to code(Lesson:
Arithmetic Operations)
   
Convert algebraic expressions to programming statementsalign image & text: Image alignment and text alignment(Lesson:
Controls in C#)
   
Image and text can be placed in one of 9 positions.ambient properties: Ambient Properties for a Uniform Look(Lesson:
Controls in C#)
   
Change font and colors of form first: When control is added it will have those same valuesampersand: A double ampersand is the Boolean AND, a single ampersand is string concatenation, or bitwise AND (Lesson:
Boolean Expressions in C#)
anagram-demo: Anagram Demo(Lesson:
Strings in C#)
   
An anagram is simply the letters of the word scrambledand or: AND && And OR ||(Lesson:
Boolean Expressions in C#)
   
&& means AND, || means ORand or maze: Rats in a maze(Lesson:
Boolean Expressions in C#)
   
A few problems to solve using && and ||app finishing touches: Finishing touches(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Finishing touches include adding icon, about box, and removing unused menu itemsarguments: Arguments are the actual values passed to a function when it is called. Parameters are given in the function definition. (Lesson:
Functions in C#)
arithmetic expressions: Arithmetic Expressions(Lesson:
Arithmetic Operations)
   
Arithmetic Expressions are statements that perform a calculation. There are specific rules for the order the operations are performed.array: Introduction to Arrays(Lesson:
Arrays in C#)
   
An array is like a list. This shows how to declare and change values in an arrayarray, out of bounds: Out of bounds: An exception(Lesson:
Arrays in C#)
   
If we try to access an element beyond the last element there is a run time error.array, variable index: Variables as index of Arrays(Lesson:
Arrays in C#)
   
Finds the total of all values in an array using a looparray global colors: Colors: Add an array of strings to combo box(Lesson:
Arrays in C#)
   
A global array of color names is created.
In form load, a loop, adds the colors to combo box.array reference: Microsoft Reference: C# Arrays and Collections(Lesson:
Arrays in C#)
   
Read these white papers from Microsoftarray scramble: Scramble Array Algorithm(Lesson:
Strings in C#)
   
Easy algorithm to scramble an arrayarray search between: seasons: Season: A special type of search(Lesson:
Arrays in C#)
   
An array of first day of season is searched
to find where the selected date belongs. array vs list: Comparison of arrays and lists(Lesson:
Arrays in C#)
   
Examples of declaring arrays vs. listsarrays, parallel: color change: Use timer to cycle through colors in an array(Lesson:
Arrays in C#)
   
Global parallel arrays are used for the color names and colors.
Make sure the subscript is not out of bounds.ask to save: List Box Editor: Step 8, Ask to Save(Lesson:
ListBox Manager in C#)
assign: Assign means to give a value to a variable.(Lesson:
Variables)
   
This statement assigns a new value to a variable.assign value: Assigning Values to a Variable(Lesson:
Variables)
   
Syntax of the assignment statement to give value to variablebackslash: Backslash: \ is escape character, turns special characters into string characters (Lesson:
Strings in C#)
bezier curve: Bezier Curves(Lesson:
Drawing in C#)
   
A Bézier curve is a parametric curve used in computer graphics.boolean: Boolean values can only have values of true or false. (Lesson:
Boolean Expressions in C#)
Boolean: left or right: Left or Right?(Lesson:
Boolean Expressions in C#)
   
On mouse move determine if the mouse is on left or right of formBoolean: top or bottom: Top or bottom?(Lesson:
Boolean Expressions in C#)
   
On mouse move determine if the mouse is on top or bottom of formboolean and or drill: Drill on Boolean(Lesson:
Boolean Expressions in C#)
   
Drill to test your understandingboolean expressions: Boolean Expressions(Lesson:
Boolean Expressions in C#)
   
A Boolean expression is one that can be evaluated to true or falseboolean middle or side: Middle or Side(Lesson:
Boolean Expressions in C#)
   
Determine if mouse is on the side or middleboolean reference: Microsoft Reference: Boolean expressions(Lesson:
Boolean Expressions in C#)
   
C# if/else, conditional operators, OR ||, AND &&, switch/caseboolean variables: Boolean Variables and Properties(Lesson:
Boolean Expressions in C#)
   
Boolean values do not need to be compared to anythingbrush: A drawing program with other brushes(Lesson:
Drawing in C#)
   
A brush is used to draw solid shapes. A pen is used to draw outlinesbug: Bug (Lesson:
Introduction to C#)
   
A bug is an error in a program. Debugging is the process of finding and fixing the errors.C#: C# is an object oriented programming language used to write Windows form applications. (Lesson:
Arithmetic Operations)
C# reference: Microsoft Reference: C# Guide(Lesson:
Introduction to C#)
   
Complete Microsoft Reference for C#calculate average, grade: Calculate Grade(Lesson:
Arithmetic Operations)
   
Scroll bars select midterm and final exam, average is calculatedcalculate cost, pizza app: Calculate Cost of pizza(Lesson:
The Pizza Project)
calculate tip: A function to display values on the scroll event and also form load(Lesson:
Arithmetic Operations)
   
Calculate tip, avoid misinformation at form loadcards, create deck: Nested Loops: generate a deck of cards(Lesson:
Loops in C#)
   
A loop for each suit with a nested loop for each card.
Also uses switch.case, switch: switch/case(Lesson:
Boolean Expressions in C#)
   
switch/case to show seasonceiling busses: Ceiling: How many busses?(Lesson:
Functions in C#)
   
Real world problem to solvecentering controls: Centering a control on the form(Lesson:
Arithmetic Operations)
   
The control is centered when the form is resizedcheckboxes, add dynamically: Read the file and add the check boxes dynamically(Lesson:
The Pizza Project)
class: A
class can be described as the blueprint or template for creating an instance of the class. A class defines both data (properties) and events (procedures or functions). An instance of the class is called an object. (Lesson:
Object oriented programming in C#)
class example accessors mutators: Fraction Class with Accessors, Mutators, and < (Lesson:
Object oriented programming in C#)
class example employee: An Employee Class derived from the Person Class (Inheritance).(Lesson:
Object oriented programming in C#)
class example fractions: Fraction Class with variables and constructors(Lesson:
Object oriented programming in C#)
class example person: A Person Class.(Lesson:
Object oriented programming in C#)
clipboard app1: Clipboard program(Lesson:
Files in C#)
   
Build the formclipboard app2: Clipboard program Part 2(Lesson:
Files in C#)
   
Code: read file into list box, copy from listbox to clipboardclipboard copy cut paste: Using clipboard to copy, cut and paste.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Code implements copy, cut and paste using the clipboardclose and exit: List Box Editor: Step 9, Exit and Close(Lesson:
ListBox Manager in C#)
code-console: Creating a Console App(Lesson:
Writing Code in C#)
   
A console app runs in the system window instead of a formcode-events: Adding events for controls(Lesson:
Writing Code in C#)
   
Some events can be added by double clicking on the controlcode-helloworld2: Code created(Lesson:
Writing Code in C#)
   
An explanation of each line of codecode change properties: Writing Code to change properties of the form(Lesson:
Writing Code in C#)
   
Instead of changing properties in the design view,
it can be done with code.code comments: Comments(Lesson:
Writing Code in C#)
   
Comments are notes a programmer makes about the codecode for new and exit: Add the code for New and Exit: The last of the Happy Birthday App(Lesson:
Dialogs in C#)
   
Shows how to save and restore the form settings at startcode reference: Microsoft Reference(Lesson:
Writing Code in C#)
   
C# Coding Standardscolor dialog: Add the Color dialog to select a background color for the Happy Birthday App(Lesson:
Dialogs in C#)
   
Includes a different way to determine if the user clicked cancelcolor objects: Colors: Change the color to selected color in combo box(Lesson:
Arrays in C#)
   
Uses parallel arrays: a string with color names and Color objectscolors, random: A Function to Generate Random Colors(Lesson:
Functions in C#)
   
A function to return a random color using Color.FromArgb(red, green, blue);comments: Comments(Lesson:
Writing Code in C#)
   
Comments are notes a programmer makes about the codecompare loops: Compare for, while, and do Loops(Lesson:
Loops in C#)
   
Each of the loops puts the numbers from 1 to 10 in a list box.conditional operator: The conditional operator: ?(Lesson:
Boolean Expressions in C#)
   
The ? can be used for very simple Boolean expressions in place of if/else codecontext menu: Using a context menu to copy, cut and paste.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
A context menu is a pop-up menu that appears on right clickcontrol list: List of Controls(Lesson:
Controls in C#)
   
A list of some of the most common controls, names and usecontrol names: Naming controls(Lesson:
Controls in C#)
   
Give controls meaningful names such as picComputer or lblInstructionscontrols, adding to form: Controls(Lesson:
Controls in C#)
   
Adding controls to the form and change a few propertiescontrols, centering: Centering a control on the form(Lesson:
Arithmetic Operations)
   
The control is centered when the form is resizedcontrols reference: Microsoft Reference(Lesson:
Controls in C#)
   
C# Toolbox, Controls on Windows Formscreate form app: Create your first Program(Lesson:
Introduction to C#)
   
Step-by-step instructions for creating a C# windows form applicationdatetime class: Working with the DateTime class.(Lesson:
Object oriented programming in C#)
datetime display: Display the date and time on timer tick.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Timer event: toolStripStatusDateTime.Text = System.DateTime.Now.ToString();debugging tools: Debugging Tools(Lesson:
Writing Code in C#)
   
A few tools for debugging are showndecimals on scroll bar: Decimal values on scroll bars(Lesson:
Arithmetic Operations)
   
Value on scroll bar is integer, how to select a decimal valuedelete listbox app: List Box Editor: Step 3, Add, Delete, and Edit(Lesson:
ListBox Manager in C#)
dialog change color: Change color of selected text.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Uses the Color Dialog to select color of selected textdialogs create birthday menu: Create the menu for the Happy Birthday App(Lesson:
Dialogs in C#)
   
Shows how to build the menu for the Happy Birthday program.dialogs create birthday message: Happy Birthday(Lesson:
Dialogs in C#)
   
This is an overview of the app that we will create in this lesson.dialogs reference: Microsoft Reference(Lesson:
Dialogs in C#)
   
C# Dialogs, Common Dialogs and Message Boxesdirectory, local: Using the local directory(Lesson:
Variables)
   
This shows how to store pictures or other files in the local directorydirectory files command: Directory(Lesson:
Files in C#)
   
The Directory command is used to retrieve an array of all the files in a directory.directory files command parameters: Parameters for the Directory Method(Lesson:
Files in C#)
   
Specify file type or patterndo: do loops test condition at end, and execute 1 or more times (Lesson:
Loops in C#)
   
A do loop tests the condition at the end of the loop.do loop: Introduction to do Loops(Lesson:
Loops in C#)
   
A do loop always executes at least once.double: double (Lesson:
Variables)
   
Double is a variable type that has decimal places. Money is always expressed as double values. Example: 0.25, 3.00, etc.dozen, calculate: Finding Dozens(Lesson:
Arithmetic Operations)
   
A program to select quantity on scroll bar and display dozens: quantity%12draw bar graph sales: Bar Graph for Sales(Lesson:
Drawing in C#)
draw Bezier curve: Bezier Curves(Lesson:
Drawing in C#)
   
A Bézier curve is a parametric curve used in computer graphics.draw circle: Drawing Filled Circle with Border(Lesson:
Drawing in C#)
draw from scroll bars: Drawing Pie with 2 Scroll Bars(Lesson:
Drawing in C#)
draw image: Drawing Images(Lesson:
Drawing in C#)
draw line: Drawing Lines with the Pen(Lesson:
Drawing in C#)
draw pie graph degrees: Drawing Pie(Lesson:
Drawing in C#)
draw rectangle: Drawing Rectangles with the Brush(Lesson:
Drawing in C#)
draw string: Drawing Strings(Lesson:
Drawing in C#)
draw triangles: Drawing Filled Polygon with Border(Lesson:
Drawing in C#)
drawing: (Lesson:
Drawing in C#)
drawing brushes: A drawing program with other brushes(Lesson:
Drawing in C#)
   
A brush is used to draw solid shapes. A pen is used to draw outlinesdrawing graphs: About Graphs(Lesson:
Drawing in C#)
drawing pie: Draw pie graph for Budget(Lesson:
Drawing in C#)
drawing reference: Microsoft Reference: C# Drawing Graphics(Lesson:
Drawing in C#)
endless loops: Endless do loops(Lesson:
Loops in C#)
   
Shows a do loop that is endless because there is no increment of the variable.event: Event(Lesson:
Writing Code in C#)
   
Events are things that happen such as a user action with the mouse or keyboard, and also events such as a timer going off.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. (Lesson:
Arithmetic Operations)
event handling: Event Handling(Lesson:
Writing Code in C#)
   
Event handling means writing code to specify what to do when an event (such as the user clicking the mouse) occurs.feet inches: Finding Feet and Inches(Lesson:
Arithmetic Operations)
   
A scroll bar selects inches, feet and inches is displayedfile, write: List Box Editor: Step 6, Write to File from ListBox(Lesson:
ListBox Manager in C#)
file reformat XML: Reformat as XML(Lesson:
Files in C#)
   
Read a text file and write as XML format.file save before closing: Remind to save before closing.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Code to cancel closing the form if user wants to save first.file save before new: Remind to save when selecting New.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
On selecting new, first ask about saving (if changes), then clear text and filenamefile save before open: Remind to save before Opening new file.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Code to open a new file and load it asks about saving firstfile save warning: Do you want to save?(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
If there have been changes warn user when they select New, Open, or exit program.file toppings, pizza app: Create a file for the toppings(Lesson:
The Pizza Project)
files in project: Files in your project(Lesson:
Introduction to C#)
   
Looks at the files that are created as part of a C# project and how to zip the entire folder.files reference: Microsoft Reference:(Lesson:
Files in C#)
   
C# Files, The Directory Classfilter reference: Filter(Lesson:
Files in C#)
   
The Filter is used with the file dialog to specify the types of files to be selected.font: Font(Lesson:
Files in C#)
   
Font is a property that can be selected for controls and for drawing.font change dialog: Change font of selected text.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Uses the Font Dialog to select fontfont dialog: Font Dialog(Lesson:
Files in C#)
   
The Font Dialog is one of the common dialog controls for selecting fonts and font propertiesfor each loop: For Each Loops(Lesson:
Loops in C#)
   
The foreach loop works on a collection or an array.for each loop with list: For Each Loops with a List(Lesson:
Loops in C#)
   
Use the foreach loop to remove blank lines from a list box.for loop: Introducing the for loop(Lesson:
Loops in C#)
   
The while loop to add 1, 2, 3 to the listbox is changed to a for loop.for loop format: Format of the for Loop(Lesson:
Loops in C#)
   
Explanation of the format of the for loop.form, pizza app: Create the form for the Pizza App(Lesson:
The Pizza Project)
form custom: Custom Forms(Lesson:
Forms in C#)
   
In this video we create a custom form to get the days of the week the user can meet.form custom app: Using the custom form.(Lesson:
Forms in C#)
   
A Form is shown modal, when closed selections are processedform custom list: A second way of getting days.(Lesson:
Forms in C#)
   
Create a list of the days from the custom formform login: Create a login form.(Lesson:
Forms in C#)
   
Close the program if the user and password are not correctformload event: Form Load Event(Lesson:
The Pizza Project)
forms reference: Microsoft Reference(Lesson:
Forms in C#)
   
Formsfunction area circle: Circle: Write a function to find area(Lesson:
Functions in C#)
   
A function receives the radius and returns the areafunctions: (Lesson:
Functions in C#)
global variables: Global Variables(Lesson:
Variables)
   
A global variable can be accessed, changed,
or modified anywhere in the program. grade function: Write a function(Lesson:
Arithmetic Operations)
   
Write a function to avoid the same code in two placesGUI: 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. (Lesson:
Arithmetic Operations)
hot spots: Hot Spots(Lesson:
Controls in C#)
   
Labels are arranged over a picture to create hot spots to show parts of computerIDE: IDE: Interactive Development Environment (Lesson:
Introduction to C#)
   
Most modern programming environments allow you to create the program, edit it and run it from one application called the IDE Interactive (or Integrated) Development Environment. Older programming languages required you to work with several separate applications.if: if Statements(Lesson:
Boolean Expressions in C#)
   
An if statement executes a group of statements only if certain conditions are trueif else, nested: Letter Grade(Lesson:
Boolean Expressions in C#)
   
Nested if/else to find letter gradeif else, nested BMI Risk: BMI: Body Mass Index(Lesson:
Boolean Expressions in C#)
   
Nested if/else to find BMI Riskincrement, in loop: Position of increment in loop(Lesson:
Loops in C#)
   
The position of the increment changes the values and also what is added to list boxinputbox listbox app: List Box Editor: Step 2, the input form(Lesson:
ListBox Manager in C#)
integer: integer (Lesson:
Variables)
   
integer is a variable type that does not have decimal places.introduction review: Active Learning: Review what you have learned(Lesson:
Introduction to C#)
   
Suggestions for practicing what you have learned.list vs array: Comparison of arrays and lists(Lesson:
Arrays in C#)
   
Examples of declaring arrays vs. listslistbox: Adding items to listbox at runtime(Lesson:
Writing Code in C#)
   
Clicking a button adds the conents of a text box to a list box.listbox app changed: List Box Editor: Step 4, Changes and Current File Name(Lesson:
ListBox Manager in C#)
local directory: Using the local directory(Lesson:
Variables)
   
This shows how to store pictures or other files in the local directorylocation, control change: Changing the location of a control(Lesson:
Writing Code in C#)
   
The location is a Point with x and y valueslogin form: Create a login form.(Lesson:
Forms in C#)
   
Close the program if the user and password are not correctloop, do: Introduction to do Loops(Lesson:
Loops in C#)
   
A do loop always executes at least once.loop, for: Introducing the for loop(Lesson:
Loops in C#)
   
The while loop to add 1, 2, 3 to the listbox is changed to a for loop.loop, for each: For Each Loops(Lesson:
Loops in C#)
   
The foreach loop works on a collection or an array.loop, for each with list: For Each Loops with a List(Lesson:
Loops in C#)
   
Use the foreach loop to remove blank lines from a list box.loop, nested: Nested Loops(Lesson:
Loops in C#)
   
One loop can be inside another loop, or nestedloop, while vs for: Compare while and for Loops(Lesson:
Loops in C#)
   
Compares a for and a while loop that each generate the values 1, 2, 3, 4, 5.loop seasons: Months and Seasons(Lesson:
Loops in C#)
   
The switch/case block is embedded inside the looploops: Prepare code for loop(Lesson:
Loops in C#)
   
Statements to add 1,2,3 to list box individually are converted to a while loop.loops, cautions: A few notes about the while loop(Lesson:
Loops in C#)
   
Cautions about possibility of endless loops and loops that execute 0 times.loops, compare: Compare for, while, and do Loops(Lesson:
Loops in C#)
   
Each of the loops puts the numbers from 1 to 10 in a list box.loops, endless: Endless do loops(Lesson:
Loops in C#)
   
Shows a do loop that is endless because there is no increment of the variable.loops reference: References: loops(Lesson:
Loops in C#)
   
View the Microsoft information on loops in C#math-drill: Drill on Math Functions Ceiling, Floor, and Round(Lesson:
Functions in C#)
   
Check your understanding of these functionsmath functions: Demonstration of Math Functions(Lesson:
Functions in C#)
   
Shows how math functions might be usedmath functions builtin: Math Functions(Lesson:
Functions in C#)
   
C# has a number of built-in functions and constants that you can use.math functions reference: Microsoft Reference(Lesson:
Functions in C#)
   
C# Math Functionsmath problems: Real world math(Lesson:
Arithmetic Operations)
   
A few real world problems you can solve in C#menu listbox app: List Box Editor: Step 1, build the menu(Lesson:
ListBox Manager in C#)
message box example: A Message Box Example(Lesson:
Dialogs in C#)
   
Explanation of using a message box.message box options: Message Box Buttons and Icons(Lesson:
Dialogs in C#)
   
In addition to OK, and YesNO, other buttons can be shownmodal: modal(Lesson:
Dialogs in C#)
   
When a dialog is shown modal, nothing else happens until the dialog is closed.mouse move event: Adding the Mouse Move Event(Lesson:
Boolean Expressions in C#)
   
Shows the X and Y positions when the mouse moves on the formmousemove event, argument: Mouse Move Event, Arguments(Lesson:
Writing Code in C#)
   
The mousemove event has argument e that has the locationnaming controls: Naming controls(Lesson:
Controls in C#)
   
Give controls meaningful names such as picComputer or lblInstructionsnested if else: Letter Grade(Lesson:
Boolean Expressions in C#)
   
Nested if/else to find letter gradenested if else BMI Risk: BMI: Body Mass Index(Lesson:
Boolean Expressions in C#)
   
Nested if/else to find BMI Risknested loop: Nested Loops(Lesson:
Loops in C#)
   
One loop can be inside another loop, or nestednotepad app: Notepad: Experiment with notepad to see what it does.(Lesson:
ListBox Manager in C#)
numbers, parsing text: Getting Numbers from Text Box(Lesson:
Boolean Expressions in C#)
   
Numeric values in a text box must be parsed.Object: An object combines both data (properties) and events (procedures). (Lesson:
Arithmetic Operations)
object: A
class can be described as the blueprint or template for creating an instance of the class. A class defines both data (properties) and events (procedures or functions). An instance of the class is called an object. (Lesson:
Object oriented programming in C#)
object array: Wishes(Lesson:
Arrays in C#)
   
At timer event lables are given random font, color and text from arrays.objects class vs struct: Microsoft Reference: Classes vs. Structs(Lesson:
Object oriented programming in C#)
   
A class can be described as the blueprint or template for creating an instance of the class. An instance of the class is called an object. An object combines both data (properties) and events (procedures).openfile and read: List Box Editor: Step 5, Read File(Lesson:
ListBox Manager in C#)
openfile dialog: Adds the Open dialog to select a picture(Lesson:
Dialogs in C#)
   
Includes setting the filter to select only picture types.operations, order of: Order of operations(Lesson:
Arithmetic Operations)
   
The Order of operations for arithmetic operations is to do parenthesis () then *, / %, then + and - working from left to right.operators drill: Drill: Operators(Lesson:
Arithmetic Operations)
   
Do this drill to make sure you understandoperators reference: Microsoft Reference: C# Operators(Lesson:
Arithmetic Operations)
   
C# Operatorsorder: Order of operations(Lesson:
Arithmetic Operations)
   
The Order of operations for arithmetic operations is to do parenthesis () then *, / %, then + and - working from left to right.order of operations, drill: Drill: Order of operations(Lesson:
Arithmetic Operations)
   
Test how well you can solve these problemsordering list: List Box Editor: Step 10, Order the List(Lesson:
ListBox Manager in C#)
out of bounds: Out of bounds: An exception(Lesson:
Arrays in C#)
   
If we try to access an element beyond the last element there is a run time error.parallel arrays: Colors: Change the color to selected color in combo box(Lesson:
Arrays in C#)
   
Uses parallel arrays: a string with color names and Color objectsparallel arrays: color change: Use timer to cycle through colors in an array(Lesson:
Arrays in C#)
   
Global parallel arrays are used for the color names and colors.
Make sure the subscript is not out of bounds.parameters: Arguments are the actual values passed to a function when it is called. Parameters are given in the function definition. (Lesson:
Functions in C#)
parse: Parse(Lesson:
Strings in C#)
   
Parse means to break a string up into significant parts, or to convert a string to a numeric type.parse text to double: Parse: Convert text to Double(Lesson:
Functions in C#)
   
A user does not always type a numeric value in text box,
parse to get numeric valuepen: A drawing program with other brushes(Lesson:
Drawing in C#)
   
A brush is used to draw solid shapes. A pen is used to draw outlinespicture form: Create a picture viewer to change size of picture.(Lesson:
Forms in C#)
   
Add a form to display a picture.picture viewer app 1 form: Picture Viewer Part 1:(Lesson:
A Picture Viewer Application)
   
Set up the formpicture viewer app 2 code: Picture Viewer Part 2:(Lesson:
A Picture Viewer Application)
   
Code and instructions to view a picturepicture viewer app folder: Select a folder(Lesson:
A Picture Viewer Application)
   
When the user selects a folder all of the picture files
in the folder will be displayed in a combo boxpicture viewer app picture: User selects picture(Lesson:
A Picture Viewer Application)
   
Display the picture selected in the combo boxpicturebox: Adding Pictures with PictureBox(Lesson:
Controls in C#)
   
An animated gif is added to a picture box.pictures: Adding Pictures in Hello World Program(Lesson:
Introduction to C#)
   
Shows how to add a picture for the background and change some settingspictures2: Pictures with Other controls(Lesson:
Controls in C#)
   
In additon to the form and picture boxes,
images can also be added to other controls such as label and button.pictures changing: Changing Pictures in Hello World Program(Lesson:
Introduction to C#)
   
Shows some additional setting for the background imageprinting example: A Simple one page printing example(Lesson:
ListBox Manager in C#: Part 2, Printing)
printing reference: Microsoft Reference: Printing(Lesson:
ListBox Manager in C#: Part 2, Printing)
properties design time: Your first Program: Hello World(Lesson:
Introduction to C#)
   
Shows how to change the text and backcolor of the form at design time.pseudocode: Pseudocode (Lesson:
Introduction to C#)
   
Pseudocode is English sentences that tell what you want the program to do. When you are designing a program, you may write the sentence "The ball bounces" but in the actual code you would move the ball up, then back down the same amount.question mark: The conditional operator: ?(Lesson:
Boolean Expressions in C#)
   
The ? can be used for very simple Boolean expressions in place of if/else coderadioButton app: buffet: A buffet restaurant part 1: Adding radio buttons(Lesson:
Boolean Expressions in C#)
   
A restaurant charges different prices for breakfast, lunch and dinner, dicounts.radioButton app: buffet2: A buffet restaurant part 2: Adding code for radio buttons and check boxes(Lesson:
Boolean Expressions in C#)
   
Radio buttons and check boxes have a Boolean property checkedrandom colors: A Function to Generate Random Colors(Lesson:
Functions in C#)
   
A function to return a random color using Color.FromArgb(red, green, blue);random numbers: Random Numbers(Lesson:
Functions in C#)
   
Code to declare and use a random numberread file lines lookup: Read a file line by line(Lesson:
Files in C#)
   
Read in a CSV (comma separated values) fileregex: Regular Expressions(Lesson:
Strings in C#)
   
A regular expression is a way to determine if a string matches a pattern.regex drill: Regular Expression Drill(Lesson:
Strings in C#)
   
Test your understandingregex robot: Regular Expression for Robot: R2D2, C3P0?(Lesson:
Strings in C#)
   
Regex robotregx= new Regex(@"([A-Z][0-9]){2}");regex sentence: Regular Expressions for a sentence(Lesson:
Strings in C#)
   
A sentence must have letters of the alphabet and end with . ? or !relational operator: Relational Operator (Lesson:
Boolean Expressions in C#)
   
Relational operators are the ones that are used to compare two values: < (less than), > (greater than), == (equal), != (not equal), <= (less than or equal), >= (greater than of equal)remainder: Remainder operator: %(Lesson:
Arithmetic Operations)
remainder, drill: Drill: The % operator(Lesson:
Arithmetic Operations)
   
Drill on the % operator: remainderresize control: Resize: Rich text box fills the form.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Richtext box fills the lower part of the form: between the toolstrip and the statusbarreturn: Return (Lesson:
Functions in C#)
   
If a function is not void, it returns a value. If you write your own function, the last statement must return a value.richtextbox app form: Build the Form(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Show all the controls and properties for this projectrichtextbox reference: Microsoft Reference(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
The Rich Text Box Overviewsave file rtf: Save the file as rtf.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
Code for function to save the contents of the richtext box to filesave saveas: List Box Editor: Step 7, Save and SaveAs(Lesson:
ListBox Manager in C#)
scramble, array: Scramble Array Algorithm(Lesson:
Strings in C#)
   
Easy algorithm to scramble an arrayscroll bar, decimals: Decimal values on scroll bars(Lesson:
Arithmetic Operations)
   
Value on scroll bar is integer, how to select a decimal valuescrollbar inches: Using the Scroll Bar Control(Lesson:
Writing Code in C#)
   
A scrollbar is used to select inchesscrolling label: Scrolling(Lesson:
Boolean Expressions in C#)
   
Scrolls a label across the form on the Timer eventshow vs showDialog: About Box, part 2(Lesson:
Forms in C#)
   
Demonstrates the difference between Show() and ShowDialog()shuffle, array: Scramble Array Algorithm(Lesson:
Strings in C#)
   
Easy algorithm to scramble an arraysorted listbox: Sorted values(Lesson:
Loops in C#)
   
If the sorted property of the list box is true, the values are sorted as stringsstatus strip: Create the status strip for the Happy Birthday App(Lesson:
Dialogs in C#)
   
Create the status strip (at the bottom of the form) & add code to display the current timestring escape: Escape Sequence: \ and @(Lesson:
Strings in C#)
   
Using the \ and @ with strings with special charactersstring functions: String Functions(Lesson:
Strings in C#)
   
Examples of the most used string methodsstring length: String Length(Lesson:
Strings in C#)
   
Length gives the number of ALL characters in the Stringstring name: Names: Using String Functions(Lesson:
Strings in C#)
   
Split name into first and laststring reference: Microsoft Reference(Lesson:
Strings in C#)
   
Strings and String methodsstring substr: String Substr(Lesson:
Strings in C#)
   
Substr extracts a portion of a stringstring validate: String is valid Social Security Number.(Lesson:
Strings in C#)
   
A valid Social Security number has 9 digitsstrings anagrams: Anagrams(Lesson:
Strings in C#)
   
Details for creating the formstrings compare: Comparing strings(Lesson:
Strings in C#)
   
Download the PDF filestrings cryptogram demo: Cryptogram Demo(Lesson:
Strings in C#)
   
A cryptogram shuffles the alphabet to create a codestrings cryptograms: Cryptograms(Lesson:
Strings in C#)
   
Details for creating the formsubscript out of bounds: Out of bounds: An exception(Lesson:
Arrays in C#)
   
If we try to access an element beyond the last element there is a run time error.switch case: switch/case(Lesson:
Boolean Expressions in C#)
   
switch/case to show seasonswitch case, loop seasons: Months and Seasons(Lesson:
Loops in C#)
   
The switch/case block is embedded inside the looptextbox control: Using the TextBox Control(Lesson:
Writing Code in C#)
   
After user types their name and presses a button,
a greeting is displayedtimer app: advice: Advice: An application with a List and Timer(Lesson:
Arrays in C#)
   
A list of good advice is randomly selected and scrolls across the form.timer slide show: Slide Show(Lesson:
A Picture Viewer Application)
   
Add a timer to create a slice showtool strip: Create the tool strip for the Happy Birthday App(Lesson:
Dialogs in C#)
   
Shows how to build the toolstrip (at the top of the form), plus two images to downloadtooltips: Adding Tool Tip to controls(Lesson:
Controls in C#)
   
Tool tips are the small words that appear when you move the mouse over a controltostring function: ToString function instead of + to concatenate(Lesson:
Functions in C#)
   
Compares using + and ToString()track changes: Declare variables to track changes.(Lesson:
Zebra Notes: Open, Save, Save As, and Format with a Rich Text Box)
   
In order to remind the user to save, we use a Boolean variable changedtry parse: TryParse: Convert text to Double if Numeric(Lesson:
Functions in C#)
   
TryParse to handle numeric errortype drill: Drill on type(Lesson:
Variables)
   
Self study drill to make sure you understandtypes and variables: Microsoft Reference(Lesson:
Variables)
   
C# Types and Variablesvariable array index: Variables as index of Arrays(Lesson:
Arrays in C#)
   
Finds the total of all values in an array using a loopvariable declaration: Declaring Variables(Lesson:
Variables)
   
Syntax for statement to declare a variablevariable name drill: Drill on Names(Lesson:
Variables)
   
Self study drill to make sure you understandvariable names: Variable Names(Lesson:
Variables)
   
Rules and guidelines for naming variablesvariable type: Variable Types(Lesson:
Variables)
   
Object typesvariables: Variables(Lesson:
Variables)
   
Variable definition, types, and how to declare variablesvariables, global: Global Variables(Lesson:
Variables)
   
A global variable can be accessed, changed,
or modified anywhere in the program. verbatim: @ is the verbatim identifier character.(Lesson:
Strings in C#)
visual studio install: Install Visual Studio(Lesson:
Introduction to C#)
visual studio menu: The Visual Studio Menu(Lesson:
Introduction to C#)
   
Describes the items you will see on menu after you start a C# project.void function BMI: BMI: A Void Function to calculate Body Mass Index(Lesson:
Functions in C#)
   
A void function does not return a valuewhile, powers of 2: While, cont.(Lesson:
Loops in C#)
   
A while loop generates the powers of 2: 2, 4, 8, 16, 32, 64, 128, 512, 1024while vs for loop: Compare while and for Loops(Lesson:
Loops in C#)
   
Compares a for and a while loop that each generate the values 1, 2, 3, 4, 5.write text file: Write to text file(Lesson:
Files in C#)
   
Write the contents of a combo box to a text filewritefile: List Box Editor: Step 6, Write to File from ListBox(Lesson:
ListBox Manager in C#)