CHAPTER 1: Getting Started with C#
Session1: A C# Console Application
Session2: Saving Your Work in C# .Net
Session3: Your First Line Of C# Code
Session4: How To Run Your C# Programmes
Session5: Your First C# Windows Form
Session6: Adding Controls To A Blank C# Form
Session7: Properties Of A C# Control
Session8: Adding C# Code To A Button
Session9: A C# Messagebox
Session10: More About The C# Messagebox
CHAPTER 2: C# .NET: Variables
Session1: Variables In C#
Session2: Assigning Text To A String Variable
Session3: Concatenation In C#
Session4: Comments In C# .Net
SEssion5: Numbers Variables In C# .Net
Session6: Double And Float Variables In C#
Session7: Double Variables In C# .Net
Session8: Addition In C# .Net
Session9: Adding Up With Float Variables
Session10: Subtraction In C# .Net
Session11: Mixing Subtraction And Addition In C#
Sesssion12; Operator Precedence In C# .Net
Session13: Multiplication And Division In C#
Session14: Getting Numbers From Text Boxes
Session15: A C# .Net Calculator – Design Stage
Session16: C# .Net Calculator – The Code
Session17: C# Calculator – The Plus Button
Session18: C# Calculator – The Equals Button
Draft Lesson
CHAPTER 3: C# .NET: Conditional Logic?
We'll use Conditional Logic to complete the calculator. You will then be able to use it to divide, subtract, and multiply. So make sure you save the work you've done so far!
Session1: C# IF Statements
Session2: Else … If Statements In C# .Net
Session3: Switch Statements In C# .Net
Session4: C# Operators
CHAPTER 4: C# .NET: Loops
Session1: C# And Loops
Session2: Loop Start Values And Loop End Values
Session3: A Times Table Programme In C#
Session4: C# Do Loops And While Loops
Session5: Checking For Blank Textboxes In C#
CHAPTER 5: C# .NET: Add Menus to your Forms
Session1: Adding Menus To Windows Forms In C#
Session2: Sub Menus In C# .Net
Session3: Menu Shortcuts In C# .Net
Session4: C# Code For Your Quit Menu
Session5: The Edit Menu
Session6: Copy And Paste In C# .Net
Session7: The View Menu
Session8: Adding Images In C# .Net
Session9: Open File Dialogue Box In C#
Session10: Open A Text File With The Open File Dialogue Box
Session11: Add A Save As Dialogue Box To Your C# Programmes
Session12: Checkboxes And Radio Buttons
CHAPTER 6: C# .NET: Debugging your Applications?
Debugging refers to the process of trying to track down errors in your programmes. It can also refer to handling potential errors that may occur. There are three types of errors that we'll take a look at:
Design-time errors
Run-Time errors
Logical errors
The longer your code gets, the harder it is to track down why things are not working. By the end of this section, you should have a good idea of where to start looking for problems. But bear in mind that debugging can be an art in itself, and it gets easier with practice.
Session1: Errors at Design Time
Session2: Run Time Errors In C# .Net
Session3: Logic Errors In C# .Net
Session4: Breakpoints In C# .Net
Session5: The Locals Window In C# .Net
Session6: Try … Catch In C# .Net
CHAPTER 7: C# .NET: Methods
Session1: Understanding C# Methods
Session2: Passing Values To Your C# Methods
Session3: Getting Values Back From C# Methods
Session4: Arrays In C# .Net
Session5: Arrays And Loops In C# .Net
Session6: Set The Size Of A C# Array At Runtime
Session7: Multi Dimensional Arrays In C# .Net
Session8: Arrays And Text In C# .Net
Session9: C# Collections – Lists
Session10: C# Collections – Hashtables
Session11: Enumerations In C# .Net
CHAPTER 8: C# .NET: String Manipulation?
Quite often, strings of text need manipulating. Data from a textbox need to be tested and checked for things like blank strings, capital letters, extra spaces, incorrect formats, and a whole lots more besides. Data from text files often needs to be chopped and parsed before doing something with it, and the information your get from and put into databases routinely needs to be examined and worked on. All of this comes under the general heading of String Manipulation.
Later in this section, you're going to be creating your very own Hangman programme. The programme will make use of string manipulation techniques. Let's go through a few of the things that will help you deal with strings of text.
Session1: String Manipulation In C# .Net
Session2: Trim Unwanted Characters In C# .Net
Session3: The Contains Method In C# .Net
Session4: The Indexof Method In C# .Net
Session5: The Insert Method In C# .Net
Session6: Padleft And Padright
Session7: Remove And Replace In C# .Net
Session8: Substring In C# .Net
Session9: Split And Join In C# .Net
Session10: A C# .Net Hangman Game
CHAPTER 9: C# .NET: Events?
In programming terms, an Event is when something special happens. Inbuilt code gets activated when the event happens. The event is then said to be "Handled". The Events that we'll discuss in this section are called GUI Events (GUI stand for Graphic User Interface). They are things like clicking a mouse button, leaving a text box, right clicking, and many more. We'll start with the Click event of buttons.
Session1: The Click Event for C# Form Buttons
Session2: The Mousedown Event In C# .Net
Session3: The Keydown Event In C# .Net
Session4: The Leave Event In C# .Net
Session5: C# .Net – Listbox And Combobox Events
Session6: Build Your Own C# Custom Web Browser
Session7: The WebBrowser Control
Session8: Naviagtion Buttons And C# .Net Image Lists
Session9: Adding Tooltips In C# .Net