Website development and design blog, tutorials and inspiration

C#

C# Tutorials for people who wish to learn the Microsoft .Net Framework and C# language. We take you from the basic programming concepts all the way through to advanced object orientation techniques, scalable solutions and multi-tier applications.

 

Simple Directory Listing in C#
26th May 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
15th May 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#
22nd March 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
6th October 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.
Extending the Web Sitemap Xml Document
6th October 2010C#
In this tutorial we will have a closer look at the web.sitemap document for website navigation and see how to extend it by binding to custom attributes.
C# String Formatting Examples
26th September 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.
List of .Net Culture and Country Codes
28th July 2010C#
A comprehensive list of ISO culture codes and country codes used for localising .Net applications in conjunction with the CultureInfo class. Culture codes are also used throughout the Windows operating system for defining regional settings.
10 Visual Studio Tools You May Not Know About
5th July 2010C#
The Visual Studio editor has hundreds of features and tools for the developer. I'm going to list some of the tools that I find particularly useful, which most experienced developers I talk to don't even know about!