Tim TrottTim TrottJust live


These tutorials cover the topics for learning the C# programming language and the Microsoft .Net framework and deal with the fundamental concepts of object orientated programming.


IP Address Informer – A Desktop Support Tool
IP Address Informer is an easy way to give your users a way to help IT support staff by providing them with the easiest IP Address lookup tool.
Best Way to Validate Email Addresses in C#
It used to be that a RegEx was the best method for validate email addresses in C#, but with all the new Top Level Domains (TLD's) flying around and new ones being released, this is becoming an increasingly difficult task.
A closed mind is like a closed book; just a block of woodChinese Proverb
Binding an ASP.Net Control to a Generic List
.Net makes it very easy to bind its own data objects to data controls, but there are times when you may wish to bind a generic, or even custom data structure, to a data control. This tutorial will show you how to bind a generic data object and a custom class to data bound controls so that they behave exactly the same as the .Net native data structures.
Calling Win32 DLLs in C#
How to import methods from a non-managed Win32 API call using Platform Invocation Services (PInvoke). PInvoke allows managed code to call unmanaged methods that are implemented in a DLL.
Simple String Encryption and Decryption with C#
In this tutorial we will look at implementing the cryptography object in C# to encrypt and decrypt information, either passwords or connection strings and prevent unauthorised eyes from prying at your passwords.
Simple Directory Listing in C#
This little C# code snippet will produce a recursive Directory Listing in C# and get a list of all the files and folders in the directory, returning them as a formatted StringBuilder object.
Saving User Preferences and Settings within your C# Application
Microsoft .Net provides a powerful method for storing and retrieving user settings - something almost every application will at some stage need to do. This article will show you how to quickly and easily save settings to the Registry, to a SQL Database or to an XML file.
A Lorem Ipsum Generator Written in C#
This class will create a Lorem Ipsum generator that can be used to create the famous "Lorem ipsum dolor sit amet" used for a natural looking dummy/placeholder text.
Converting a String Name into a C# Type
There are many occasions when you need to convert a string (from an XML document, database, file and so on) into an instance of a class. For example when you need to create an instance of a class, but the exact type is unknown. This example will show you how to get a type from a string and use reflection to create an instance of it.
C# String Formatting Examples
C# like many other programming languages uses special format characters when constructing a string. These characters affect they way in which data is presented on the screen.