This section on converting between types is specific to C#. VB .NET handles type conversion very differently and should be taken into consideration if VB .NET is your primary programming language. I’ll be briefly looking into converting between types, Boxing and what it is and implement a conversion operator.
method
Applying What We Have Learned So Far (continued)

Responding to an Event:
The following code example compiles and runs in Microsoft Visual Studio 2008 C#. A ProgressBar control named progressBar has been added to the form. When the event occurs, the displayed progressBar is incremented by 10% and when it reaches 100% the timer stops and the form closes.
Lesson 3: Constructing Classes

Now we get to the meat and potatoes of object oriented programming. All programs,except the simplest, require constructing one or more custom classes with multiple properties and methods for performing tasks related to the object. I now discuss how to make custom classes.
Using Common Reference Types - continued

Strings and StringBuilders
One of the built in reference types within the .NET Framework you will commonly use is the System.String type. System.String has a set of members for manipulating text. For example here is a simple quick method for finding and replacing text:
Chapter 1: Lesson 1: Using Value Types

Value types are variables which contain their data directly as opposed to reference types which store only a reference to the data stored elsewhere. Instances of value types are stored in an area of the memory called the “stack” where the runtime can manipulate them quickly with minimal overhead.