Welcome to C# Examples, a site with many useful code snippets. See all examples grouped by category. Subscribe to my
RSS feed
to be
notified of new articles.
The most popular articles
- C# DataView RowFilter Syntax – RowFilter syntax description
- C# String Format for DateTime – format date and time
- C# String Format for Double – format float numbers
- C# Reflection Examples – how to use dynamically loaded assembly
The most recently added examples
- 24 May 2010 – C# Reverse Bytes (Little/Big Endian) – how to reverse byte order
- 17 May 2010 – C# InputBox With Value Validation – simple InputBox class
- 09 May 2010 – C# Open File With Associated Application – launch default application
- 24 Jul 2009 – C# Autoscroll (TextBox, ListBox, ListView) – autoscroll in common controls
- 22 Jun 2009 – C# Custom IFormatProvider – format strings with custom IFormatProvider
- 08 Jun 2009 – C# Read-only PropertyGrid – add read-only functionality to PropertyGrid
- 20 Feb 2009 – C# Check Scrollbars Visibility – find out which scrollbars are visible
- 07 Feb 2009 – C# Redraw a Whole Control on Resize – ensure resized control redraw
- 29 Jan 2009 – C# Catching Unhandled Exceptions – how to catch unhandled exceptions
- 17 Sep 2008 – C# InputBox – simple static method to show InputBox in C#
- 07 Jul 2008 – C# Reflection Examples – how to use dynamically loaded assembly
- 01 Jul 2008 – C# Combine Multiple PrintDocuments – join two PrintDocuments into one
- 09 Jun 2008 – C# Cancel an Asynchronous Method – implement cancellation support
- 31 May 2008 – C# Asynchronous Method Progress Reporting – how to report progress
- 24 May 2008 – C# Create an Asynchronous Method – invoke an asynchronous method
- 08 May 2008 – C# Start, Stop and Restart Windows Service – how to restart a service
- 28 Apr 2008 – C# Create Windows Service in Visual Studio – create service in VS 2005
- 18 Apr 2008 – C# Get List of Windows Services – list of installed services
- 16 Apr 2008 – C# Install / Uninstall .NET Windows Service – how to install .NET services
- 08 Apr 2008 – C# Check Local IP Address – check whether an IP is local
- 31 Mar 2008 – C# Topmost Form at Application Level – don't overlap other applications
- 25 Mar 2008 – C# String Format for DateTime – format date and time
- 15 Mar 2008 – C# DataView RowFilter Syntax – DataView.RowFilter expression
- 05 Feb 2008 – C# Set DoubleBuffered Property – set Control's protected property
- 31 Jan 2008 – C# Culture Names – get all culture names in .NET Framework
- 25 Jan 2008 – C# IFormatProvider for Numbers – format and parse float numbers
- 20 Jan 2008 – C# Read-only Wrapper for a Collection – property with readonly collection
- 16 Jan 2008 – C# Separator Line on Form – how to simulate a bevel line on form
- 06 Jan 2008 – C# Select XML Nodes by Attribute Value – get xml nodes by attribute
- 2007 – C# String To Enum Conversion – how to convert string to enum value
- … see all examples …
