Tim TrottTim TrottFree your mind

C#

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
28/02/2013C#
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#
06/07/2012C#
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.
If nobody hates you, you're doing something wrong.House
Binding an ASP.Net Control to a Generic List
21/02/2012C#
.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#
28/11/2011C#
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#
19/10/2011C#
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#
26/05/2011C#
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
15/05/2011C#
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#
22/03/2011C#
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
06/10/2010C#
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
26/09/2010C#
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.