Glossary for C#
Learn C# (C sharp) in FREE step-by-step lessons.
aboutbox2: Demonstrates the difference between Show() and ShowDialog()
About Box, part 2 Lesson: Forms in C#aboutbox: An About Box is one type of form that can be added to a program.
Add an About Box to a program Lesson: Forms in C#algebra to code: Convert algebraic expressions to programming statements
Algebra to code Lesson: Arithmetic Operationsalign: Image and text can be placed in one of 9 positions.
Image alignment and text alignment Lesson: Controls in C#ambient: Change font and colors of form first: When control is added it will have those same values
Ambient Properties for a Uniform Look Lesson: Controls in C#anagram demo, string: An anagram is simply the letters of the word scrambled
Anagram Demo Lesson: Strings in C#anagrams: Details for creating the form
Anagrams Lesson: Strings in C#and or drill: Drill to test your understanding
Drill on Boolean Lesson: Boolean Expressions in C#And OR problems: A few problems to solve using && and ||
Rats in a maze Lesson: Boolean Expressions in C#and or: && means AND, || means OR
AND && And OR || Lesson: Boolean Expressions in C#arguments vs. 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#asktosave, listbox List Box Editor: Step 8, Ask to Save Lesson: ListBox Manager in C#assign: This statement assigns a new value to a variable.
Assign means to give a value to a variable. Lesson: Variablesbezier curve: A Bézier curve is a parametric curve used in computer graphics.
Bezier Curves Lesson: Drawing Methods in C#boolean expressions: A Boolean expression is one that can be evaluated to true or false
Boolean Expressions Lesson: Boolean Expressions in C#boolean reference: C# if/else, conditional operators, OR ||, AND &&, switch/case
Microsoft Reference: Boolean expressions Lesson: Boolean Expressions in C#boolean variables: Boolean values do not need to be compared to anything
Boolean Variables and Properties Lesson: Boolean Expressions in C#brushes: A brush is used to draw solid shapes. A pen is used to draw outlines
A drawing program with other brushes Lesson: Drawing Methods in C#budget, draw pie graph Draw pie graph for Budget Lesson: Drawing Methods in C#bug: An error in the code
Lesson: Introduction to C#builtin math functions: C# has a number of built-in functions and constants that you can use.
Math Functions Lesson: Functions in C#buttons: message box: In addition to OK, and YesNO, other buttons can be shown
Message Box Buttons and Icons Lesson: Dialogs in C#C# reference: Complete Microsoft Reference for C#
Microsoft Reference: C# Guide Lesson: Introduction to C#C# Types and Variables: reference: C# Types and Variables
Microsoft Reference Lesson: Variablescalculate cost, pizza Calculate Cost of pizza Lesson: The Pizza Projectcards: A loop for each suit with a nested loop for each card. Also uses switch.
Nested Loops: generate a deck of cards Lesson: Loops in C#case switch: switch/case to show season
switch/case Lesson: Boolean Expressions in C#ceiling, busses: Real world problem to solve
Ceiling: How many busses? Lesson: Functions in C#centering: The control is centered when the form is resized
Centering a control on the form Lesson: Arithmetic Operationscheck boxes: buffet: Radio buttons and check boxes have a Boolean property checked
A buffet restaurant part 2: Adding code for radio buttons and check boxes Lesson: Boolean Expressions in C#checkboxes, pizza Read the file and add the check boxes dynamically Lesson: The Pizza Projectcirle, draw Drawing Filled Circle with Border Lesson: Drawing Methods in C#class: datetime Working with the DateTime class. Lesson: Object oriented programming in C#class: employee An Employee Class derived from the Person Class (Inheritance). Lesson: Object oriented programming in C#class: fractions Fraction Class with variables and constructors Lesson: Object oriented programming in C#Classes vs. Structs reference: 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).
Microsoft Reference: Classes vs. Structs Lesson: Object oriented programming in C#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.
Class: Object Oriented Porgramming Lesson: Object oriented programming in C#clipboard1: Build the form
Clipboard program Lesson: Files in C#clipboard2: Code: read file into list box, copy from listbox to clipboard
Clipboard program Part 2 Lesson: Files in C#clipboard: Code implements copy, cut and paste using the clipboard
Using clipboard to copy, cut and paste. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxclosingx, listbox List Box Editor: Step 9, Exit and Close Lesson: ListBox Manager in C#coding standards reference: C# Coding Standards
Microsoft Reference Lesson: Writing Code in C#color dialog: Includes a different way to determine if the user clicked cancel
Add the Color dialog to select a background color for the Happy Birthday App Lesson: Dialogs in C#comments: Comments are notes a programmer makes about the code
Comments Lesson: Writing Code in C#conditionals: The ? can be used for very simple Boolean expressions in place of if/else code
The conditional operator: ? Lesson: Boolean Expressions in C#console: A console app runs in the system window instead of a form
Creating a Console App Lesson: Writing Code in C#contextmenu: A context menu is a pop-up menu that appears on right click
Using a context menu to copy, cut and paste. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxcontreols reference: C# Toolbox, Controls on Windows Forms
Microsoft Reference Lesson: Controls in C#controlList: A list of some of the most common controls, names and use
List of Controls Lesson: Controls in C#controls: Adding controls to the form and change a few properties
Controls Lesson: Controls in C#cryptogram demo: A cryptogram shuffles the alphabet to create a code
Cryptogram Demo Lesson: Strings in C#curve,bezier: A Bézier curve is a parametric curve used in computer graphics.
Bezier Curves Lesson: Drawing Methods in C#custom form: In this video we create a custom form to get the days of the week the user can meet.
Custom Forms Lesson: Forms in C#datetime class Working with the DateTime class. Lesson: Object oriented programming in C#debug: A few tools for debugging are shown
Debugging Tools Lesson: Writing Code in C#decimals on scroll bar: Value on scroll bar is integer, how to select a decimal value
Decimal values on scroll bars Lesson: Arithmetic Operationsdeclare: Syntax for statement to declare a variable
Declaring Variables Lesson: Variablesdegrees, drawing pie chart Drawing Pie with 2 Scroll Bars Lesson: Drawing Methods in C#degrees Drawing Pie Lesson: Drawing Methods in C#delete, listbox List Box Editor: Step 3, Add, Delete, and Edit Lesson: ListBox Manager in C#dialog: color: Includes a different way to determine if the user clicked cancel
Add the Color dialog to select a background color for the Happy Birthday App Lesson: Dialogs in C#dialog: font: The Font Dialog is one of the common dialog controls for selecting fonts and font properties
Add the font dialog for the Happy Birthday App Lesson: Dialogs in C#dialog: openfile: Includes setting the filter to select only picture types.
Adds the Open dialog to select a picture Lesson: Dialogs in C#dialogs reference: C# Dialogs, Common Dialogs and Message Boxes
Microsoft Reference Lesson: Dialogs in C#directory parameters: Specify file type or pattern
Parameters for the Directory Method Lesson: Files in C#directory: The Directory command is used to retrieve an array of all the files in a directory.
Directory Lesson: Files in C#do loop: A do loop always executes at least once.
Introduction to do Loops Lesson: Loops in C#double: A double is a value with decimal places
Lesson: Variablesdozen: A program to select quantity on scroll bar and display dozens: quantity%12
Finding Dozens Lesson: Arithmetic Operationsdo: A do loop tests the condition at the end of the loop.
do loops test condition at end, and execute 1 or more times Lesson: Loops in C#draw circle Drawing Filled Circle with Border Lesson: Drawing Methods in C#draw image Drawing Images Lesson: Drawing Methods in C#draw line Drawing Lines with the Pen Lesson: Drawing Methods in C#draw pie chart Drawing Pie Lesson: Drawing Methods in C#draw rectangle Drawing Rectangles with the Brush Lesson: Drawing Methods in C#drawing reference Microsoft Reference: C# Drawing Graphics Lesson: Drawing Methods in C#drawing, brushes: A brush is used to draw solid shapes. A pen is used to draw outlines
A drawing program with other brushes Lesson: Drawing Methods in C#drawstring Drawing Strings Lesson: Drawing Methods in C#drill regex: Test your understanding
Regular Expression Drill Lesson: Strings in C#else: An if statement executes a group of statements only if certain conditions are true
if/else Statements Lesson: Boolean Expressions in C#employee class An Employee Class derived from the Person Class (Inheritance). Lesson: Object oriented programming in C#endless loop: Shows a do loop that is endless because there is no increment of the variable.
Endless do loops Lesson: Loops in C#escape, strings: Using the \ and @ with strings with special characters
Escape Sequence: \ and @ Lesson: Strings in C#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.
Event driven Lesson: Arithmetic Operationsevent handling: Event handling means writing code to specify what to do when an event (such as the user clicking the mouse) occurs.
Lesson: Writing Code in C#event: mouse move: Shows the X and Y positions when the mouse moves on the form
Adding the Mouse Move Event Lesson: Boolean Expressions in C#events for controls: Some events can be added by double clicking on the control
Adding events for controls Lesson: Writing Code in C#event: Events are things that happen such as a user action with the mouse or keyboard, and also events such as a timer going off.
Lesson: Writing Code in C#exit, menu: Shows how to save and restore the form settings at start
Add the code for New and Exit: The last of the Happy Birthday App Lesson: Dialogs in C#feet and inches: A scroll bar selects inches, feet and inches is displayed
Finding Feet and Inches Lesson: Arithmetic Operationsfile: reformat: Read a text file and write as XML format.
Reformat as XML Lesson: Files in C#file: write: Write the contents of a combo box to a text file
Write to text file Lesson: Files in C#files reference: C# Files, The Directory Class
Microsoft Reference: Lesson: Files in C#files: The files that are created as part of your app
Lesson: Introduction to C#filter: files: The Filter is used with the file dialog to specify the types of files to be selected.
Filter Lesson: Files in C#folder, select1: When the user selects a folder all of the picture files in the folder will be displayed in a combo box
Select a folder Lesson: A Picture Viewer Applicationfolder, select2: Display the picture selected in the combo box
User selects picture Lesson: A Picture Viewer Applicationfont dialog'.: The Font Dialog is one of the common dialog controls for selecting fonts and font properties
Font Dialog Lesson: Files in C#font dialog: The Font Dialog is one of the common dialog controls for selecting fonts and font properties
Add the font dialog for the Happy Birthday App Lesson: Dialogs in C#font: Font is a property that can be selected for controls and for drawing.
Font Lesson: Files in C#for each list: Use the foreach loop to remove blank lines from a list box.
For Each Loops with a List Lesson: Loops in C#for each: The foreach loop works on a collection or an array.
For Each Loops Lesson: Loops in C#for format: Explanation of the format of the for loop.
Format of the for Loop Lesson: Loops in C#for loop: The while loop to add 1, 2, 3 to the listbox is changed to a for loop.
Introducing the for loop Lesson: Loops in C#form, pizza Create the form for the Pizza App Lesson: The Pizza ProjectForm: frmDays2: Create a list of the days from the custom form
A second way of getting days. Lesson: Forms in C#Form: frmDays: A Form is shown modal, when closed selections are processed
Using the custom form. Lesson: Forms in C#Form: login: Close the program if the user and password are not correct
Create a login form. Lesson: Forms in C#form: pictures viewer: Add a form to display a picture.
Create a picture viewer to change size of picture. Lesson: Forms in C#forms reference: Forms
Microsoft Reference Lesson: Forms in C#fraction class 1 Fraction Class with variables and constructors Lesson: Object oriented programming in C#fractions class 2 Fraction Class with Accessors, Mutators, and < Lesson: Object oriented programming in C#function area of circle: A function receives the radius and returns the area
Circle: Write a function to find area Lesson: Functions in C#function grad: Write a function to avoid the same code in two places
Write a function Lesson: Arithmetic Operationsfunction tip: Calculate tip, avoid misinformation at form load
A function to display values on the scroll event and also form load Lesson: Arithmetic Operationsfunctions: Examples of the most used string methods
String Functions Lesson: Strings in C#global: A global variable can be accessed, changed,
or modified anywhere in the program.
Global Variables Lesson: Variablesgraphs About Graphs Lesson: Drawing Methods in C#GUI: 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.
Graphical User Interface (pronounced gooey) Lesson: Arithmetic Operationshappy birthday overview: This is an overview of the app that we will create in this lesson.
Happy Birthday Lesson: Dialogs in C#helloworld2: Shows how to change the text and backcolor of the form at design time.
Your first Program: Hello World Lesson: Introduction to C#helloworld2: An explanation of each line of code
Code created Lesson: Writing Code in C#helloworld: Create C# windows form application
Hello World application Lesson: Introduction to C#helloworld: Instead of changing properties in the design view, it can be done with code.
Writing Code to change properties of the form Lesson: Writing Code in C#hotspots: Labels are arranged over a picture to create hot spots to show parts of computer
Hot Spots Lesson: Controls in C#IDE: 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.
Lesson: Introduction to C#if else: BMI Risk: Nested if/else to find BMI Risk
BMI: Body Mass Index Lesson: Boolean Expressions in C#if else: nested: Nested if/else to find letter grade
Letter Grade Lesson: Boolean Expressions in C#if: An if statement executes a group of statements only if certain conditions are true
if/else Statements Lesson: Boolean Expressions in C#image draw Drawing Images Lesson: Drawing Methods in C#increment: The position of the increment changes the values and also what is added to list box
Position of increment in loop Lesson: Loops in C#install Visual Studio Install Visual Studio Lesson: Introduction to C#integer: a whole number (no decimal places)
Lesson: Variableslength string: Length gives the number of ALL characters in the String
String Length Lesson: Strings in C#line, draw Drawing Lines with the Pen Lesson: Drawing Methods in C#link1: C# Operators
Microsoft Reference: C# Operators Lesson: Arithmetic Operationslistbox inputbox List Box Editor: Step 2, the input form Lesson: ListBox Manager in C#listbox menu List Box Editor: Step 1, build the menu Lesson: ListBox Manager in C#listbox, changed List Box Editor: Step 4, Changes and Current File Name Lesson: ListBox Manager in C#listbox: Clicking a button adds the conents of a text box to a list box.
Adding items to listbox at runtime Lesson: Writing Code in C#localdirectory: This shows how to store pictures or other files in the local directory
Using the local directory Lesson: Variableslocation: The location is a Point with x and y values
Changing the location of a control Lesson: Writing Code in C#login form: Close the program if the user and password are not correct
Create a login form. Lesson: Forms in C#lookup: read file: Read in a CSV (comma separated values) file
Read a file line by line Lesson: Files in C#loop for: The while loop to add 1, 2, 3 to the listbox is changed to a for loop.
Introducing the for loop Lesson: Loops in C#loop: do: A do loop always executes at least once.
Introduction to do Loops Lesson: Loops in C#loop: for each list: Use the foreach loop to remove blank lines from a list box.
For Each Loops with a List Lesson: Loops in C#loop: increment: The position of the increment changes the values and also what is added to list box
Position of increment in loop Lesson: Loops in C#loop: month and seasons: The switch/case block is embedded inside the loop
Months and Seasons Lesson: Loops in C#loops reference: View the Microsoft information on loops in C#
References: loops Lesson: Loops in C#loops: cards: A loop for each suit with a nested loop for each card. Also uses switch.
Nested Loops: generate a deck of cards Lesson: Loops in C#loops: for each: The foreach loop works on a collection or an array.
For Each Loops Lesson: Loops in C#loops: nested: One loop can be inside another loop, or nested
Nested Loops Lesson: Loops in C#loops: while: Cautions about possibility of endless loops and loops that execute 0 times.
A few notes about the while loop Lesson: Loops in C#loops: Statements to add 1,2,3 to list box individually are converted to a while loop.
Prepare code for loop Lesson: Loops in C#math drill: Check your understanding of these functions
Drill on Math Functions Ceiling, Floor, and Round Lesson: Functions in C#math function builtin: C# has a number of built-in functions and constants that you can use.
Math Functions Lesson: Functions in C#math function reference: C# Math Functions
Microsoft Reference Lesson: Functions in C#math: Shows how math functions might be used
Demonstration of Math Functions Lesson: Functions in C#maze problems: A few problems to solve using && and ||
Rats in a maze Lesson: Boolean Expressions in C#menu for happy birthday: Shows how to build the menu for the Happy Birthday program.
Create the menu for the Happy Birthday App Lesson: Dialogs in C#menu: The menu the programmer uses to navigate Visual Studio
Visual Studio Menu Lesson: Introduction to C#message box buttons: In addition to OK, and YesNO, other buttons can be shown
Message Box Buttons and Icons Lesson: Dialogs in C#message box: Explanation of using a message box.
A Message Box Example Lesson: Dialogs in C#mouse move event: Shows the X and Y positions when the mouse moves on the form
Adding the Mouse Move Event Lesson: Boolean Expressions in C#mouse move: left or right: On mouse move determine if the mouse is on left or right of form
Left or Right? Lesson: Boolean Expressions in C#mouse move: middle or side: Determine if mouse is on the side or middle
Middle or Side Lesson: Boolean Expressions in C#mouse move: top or bottom: On mouse move determine if the mouse is on top or bottom of form
Top or bottom? Lesson: Boolean Expressions in C#mouse: The mousemove event has argument e that has the location
Mouse Move Event, Arguments Lesson: Writing Code in C#name-drill: Self study drill to make sure you understand
Drill on Names Lesson: Variablesname: string function: Split name into first and last
Names: Using String Functions Lesson: Strings in C#names: Rules and guidelines for naming variables
Variable Names Lesson: Variablesnames: Give controls meaningful names such as picComputer or lblInstructions
Naming controls Lesson: Controls in C#nested if else: Nested if/else to find letter grade
Letter Grade Lesson: Boolean Expressions in C#nested loop: One loop can be inside another loop, or nested
Nested Loops Lesson: Loops in C#new, menu: Shows how to save and restore the form settings at start
Add the code for New and Exit: The last of the Happy Birthday App Lesson: Dialogs in C#notepad Notepad: Experiment with notepad to see what it does. Lesson: ListBox Manager in C#numbers from textbox: Numeric values in a text box must be parsed.
Getting Numbers from Text Box Lesson: Boolean Expressions in C#object: An object combines both data (properties) and events (procedures).
object Lesson: Arithmetic Operationsopenfile dialog: Includes setting the filter to select only picture types.
Adds the Open dialog to select a picture Lesson: Dialogs in C#openfile, listbox List Box Editor: Step 5, Read File Lesson: ListBox Manager in C#operators: Do this drill to make sure you understand
Drill: Operators Lesson: Arithmetic Operationsorder of operations drill: Test how well you can solve these problems
Drill: Order of operations Lesson: Arithmetic Operationsorder of operations'.: The Order of operations for arithmetic operations is to do parenthesis () then *, / %, then + and - working from left to right.
Order of operations Lesson: Arithmetic Operationsordering listbox List Box Editor: Step 10, Order the List Lesson: ListBox Manager in C#parameters vs. arguments 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: A user does not always type a numeric value in text box, parse to get numeric value
Parse: Convert text to Double Lesson: Functions in C#parse: Parse means to break a string up into significant parts, or to convert a string to a numeric type.
Parse Lesson: Strings in C#picture properties: You can change the way the background image appears.
Lesson: Introduction to C#picture viewer form: Add a form to display a picture.
Create a picture viewer to change size of picture. Lesson: Forms in C#picturebox: An animated gif is added to a picture box.
Adding Pictures with PictureBox Lesson: Controls in C#pictures2: Addinng an image to the background
Lesson: Introduction to C#pictures2: In additon to the form and picture boxes,
images can also be added to other controls such as label and button.
Pictures with Other controls Lesson: Controls in C#pictures: Add pictures at design time
Lesson: Introduction to C#pictureviewer 1: Set up the form
Picture Viewer Part 1: Lesson: A Picture Viewer Applicationpictureviewer 2: Code and instructions to view a picture
Picture Viewer Part 2: Lesson: A Picture Viewer Applicationpie chart, draw Drawing Pie Lesson: Drawing Methods in C#pie graph: budget Draw pie graph for Budget Lesson: Drawing Methods in C#pizza form Create the form for the Pizza App Lesson: The Pizza Projectprinting: reference Microsoft Reference: Printing Lesson: ListBox Manager Part 2: Printingprinting A Simple one page printing example Lesson: ListBox Manager Part 2: Printingproblems: A few real world problems you can solve in C#
Real world math Lesson: Arithmetic Operationsproperties: Changing properties at design time
Lesson: Introduction to C#pseudocode: Code written in human language
Lesson: Introduction to C#radio buttons, buffet: A restaurant charges different prices for breakfast, lunch and dinner, dicounts.
A buffet restaurant part 1: Adding radio buttons Lesson: Boolean Expressions in C#random colors: A function to return a random color using Color.FromArgb(red, green, blue);
A Function to Generate Random Colors Lesson: Functions in C#random numbers: Code to declare and use a random number
Random Numbers Lesson: Functions in C#read file: lookup: Read in a CSV (comma separated values) file
Read a file line by line Lesson: Files in C#rectangle, draw Drawing Rectangles with the Brush Lesson: Drawing Methods in C#reference: Complete Microsoft Reference for C#
Lesson: Introduction to C#reformat file: Read a text file and write as XML format.
Reformat as XML Lesson: Files in C#regex drill: Test your understanding
Regular Expression Drill Lesson: Strings in C#regex sentence: A sentence must have letters of the alphabet and end with . ? or !
Regular Expressions for a sentence Lesson: Strings in C#regex: robot: Regex robotregx= new Regex(@"([A-Z][0-9]){2}");
Regular Expression for Robot: R2D2, C3P0? Lesson: Strings in C#regex: A regular expression is a way to determine if a string matches a pattern.
Regular Expressions Lesson: Strings in C#regular expression: sentence: A sentence must have letters of the alphabet and end with . ? or !
Regular Expressions for a sentence Lesson: Strings in C#regular expression: A regular expression is a way to determine if a string matches a pattern.
Regular Expressions Lesson: Strings in C#remainder drill: Drill on the % operator: remainder
Drill: The % operator Lesson: Arithmetic Operationsremainder: Remainder can be found for integer division
Remainder operator: % Lesson: Arithmetic Operationsreturn: If a function is not void, it returns a value. If you write your own function, the last statement must return a value.
Return Lesson: Functions in C#Rich Text Box REFEWRENCE: The Rich Text Box Overview
Microsoft Reference Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext color: Uses the Color Dialog to select color of selected text
Change color of selected text. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext finish: Finishing touches include adding icon, about box, and removing unused menu items
Finishing touches Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext font: Uses the Font Dialog to select font
Change font of selected text. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext1 form: Show all the controls and properties for this project
Build the Form Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext2 changes: In order to remind the user to save, we use a Boolean variable changed
Declare variables to track changes. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext3 resize: Richtext box fills the lower part of the form: between the toolstrip and the statusbar
Resize: Rich text box fills the form. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext4 datetime: Timer event: toolStripStatusDateTime.Text = System.DateTime.Now.ToString();
Display the date and time on timer tick. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext5 save: Code for function to save the contents of the richtext box to file
Save the file as rtf. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext6 asktosave: If there have been changes warn user when they select New, Open, or exit program.
Do you want to save? Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext7 closing: Code to cancel closing the form if user wants to save first.
Remind to save before closing. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext8 open: Code to open a new file and load it asks about saving first
Remind to save before Opening new file. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxrichtext9 new: On selecting new, first ask about saving (if changes), then clear text and filename
Remind to save when selecting New. Lesson: Zebra Notes: Open, Save, Save As, and Format with a Rich Text Boxsales, drawing graph Bar Graph for Sales Lesson: Drawing Methods in C#save or saveas, listbox List Box Editor: Step 7, Save and SaveAs Lesson: ListBox Manager in C#scramble: Easy algorithm to scramble (shuffle) an array
Scramble Array Algorithm Lesson: Strings in C#scroll bar grade: Scroll bars select midterm and final exam, average is calculated
Calculate Grade Lesson: Arithmetic Operationsscroll bar, inches: A scrollbar is used to select inches
Using the Scroll Bar Control Lesson: Writing Code in C#scrolling, timer event: Scrolls a label across the form on the Timer event
Scrolling Lesson: Boolean Expressions in C#shuffle: Easy algorithm to scramble (shuffle) an array
Scramble Array Algorithm Lesson: Strings in C#slide show,timer: Add a timer to create a slice show
Slide Show Lesson: A Picture Viewer Applicationsorted: If the sorted property of the list box is true, the values are sorted as strings
Sorted values Lesson: Loops in C#statusstrip: Create the status strip (at the bottom of the form) & add code to display the current time
Create the status strip for the Happy Birthday App Lesson: Dialogs in C#string function: name: Split name into first and last
Names: Using String Functions Lesson: Strings in C#string length: Length gives the number of ALL characters in the String
String Length Lesson: Strings in C#string reference: Strings and String methods
Microsoft Reference Lesson: Strings in C#string, draw Drawing Strings Lesson: Drawing Methods in C#String: comparing: Download the PDF file
Comparing strings Lesson: Strings in C#string: escape: Using the \ and @ with strings with special characters
Escape Sequence: \ and @ Lesson: Strings in C#string: substr: Substr extracts a portion of a string
String Substr Lesson: Strings in C#substr: Substr extracts a portion of a string
String Substr Lesson: Strings in C#switch case: switch/case to show season
switch/case Lesson: Boolean Expressions in C#textbox: After user types their name and presses a button,
a greeting is displayed
Using the TextBox Control Lesson: Writing Code in C#timer event scrolling: Scrolls a label across the form on the Timer event
Scrolling Lesson: Boolean Expressions in C#timer: Add a timer to create a slice show
Slide Show Lesson: A Picture Viewer Applicationtoolstrip: Shows how to build the toolstrip (at the top of the form), plus two images to download
Create the tool strip for the Happy Birthday App Lesson: Dialogs in C#tooltips: Tool tips are the small words that appear when you move the mouse over a control
Adding Tool Tip to controls Lesson: Controls in C#toppings Create a file for the toppings Lesson: The Pizza Projecttostring: Compares using + and ToString()
ToString function instead of + to concatenate Lesson: Functions in C#triangle, draw Drawing Filled Polygon with Border Lesson: Drawing Methods in C#triangles Drawing Filled Polygon with Border Lesson: Drawing Methods in C#tryparse: TryParse to handle numeric error
TryParse: Convert text to Double if Numeric Lesson: Functions in C#type-drill: Self study drill to make sure you understand
Drill on type Lesson: Variablestypes and variables reference: C# Types and Variables
Microsoft Reference Lesson: Variablestype: Object types
Variable Types Lesson: Variablesvalidate string: A valid Social Security number has 9 digits
String is valid Social Security Number. Lesson: Strings in C#variables and types reference: C# Types and Variables
Microsoft Reference Lesson: Variablesvariables: boolean: Boolean values do not need to be compared to anything
Boolean Variables and Properties Lesson: Boolean Expressions in C#variables: Variable definition, types, and how to declare variables
Variables Lesson: Variablesvisual studio install: Step by step instructions
Lesson: Introduction to C#void function bmi: A void function does not return a value
BMI: A Void Function to calculate Body Mass Index Lesson: Functions in C#while loops: Cautions about possibility of endless loops and loops that execute 0 times.
A few notes about the while loop Lesson: Loops in C#while loop: A while loop generates the powers of 2: 2, 4, 8, 16, 32, 64, 128, 512, 1024
While, cont. Lesson: Loops in C#while vs. for: Compares a for and a while loop that each generate the values 1, 2, 3, 4, 5.
Compare while and for Loops Lesson: Loops in C#write text file: Write the contents of a combo box to a text file
Write to text file Lesson: Files in C#writefile, listbox List Box Editor: Step 6, Write to File from ListBox Lesson: ListBox Manager in C# C# is an object oriented programming language used to write Windows form applications. Lesson: Arithmetic Operations