csharp codeWriting Code in C#

Writing Code in C#

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

Unit I: Introduction

Please study the material at each of the links below.

  1. Microsoft Reference Microsoft Reference: C# Coding Standards
  2. Writing Code to change properties of the form Writing Code to change properties of the form: Instead of changing properties in the design view, it can be done with code.
  3. Comments: Comments are notes a programmer makes about the code
  4. Code created Code created: An explanation of each line of code
  5. Adding events for controls Adding events for controls: Some events can be added by double clicking on the control
  6. Adding items to listbox at runtime Adding items to listbox at runtime: Clicking a button adds the conents of a text box to a list box.
  7. Changing the location of a control Changing the location of a control: The location is a Point with x and y values
  8. Mouse Move Event, Arguments Mouse Move Event, Arguments: The mousemove event has argument e that has the location
  9. Using the TextBox Control Using the TextBox Control: After user types their name and presses a button,
    a greeting is displayed
  10. Using the Scroll Bar Control Using the Scroll Bar Control: A scrollbar is used to select inches
  11. Debugging Tools Debugging Tools: A few tools for debugging are shown
  12. Creating a Console App Creating a Console App: A console app runs in the system window instead of a form
GlossaryGlossary for code lesson
Full Glossary