Jan Slama
- C# developer, Czech Republic
- webmaster and author of this site
- contact email: info[at]csharp-examples.net
Articles
- 15 May 2016 – C# LINQ Aggregation Methods – Sum, Max, Min, Count, LongCount, Average, Aggregate
- 15 Mar 2016 – C# List – illustrative examples of all List<T> methods
- 02 Feb 2016 – C# Using Statement Examples – using statement and IDisposable
- 30 Jan 2016 – C# Switch Examples – switch statement examples
- 11 Jan 2016 – C# Foreach Examples – how foreach and IEnumerable works
- 12 Dec 2015 – C# Read Text File – how to read lines from text file
- 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
- 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
- 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
- 2007 – C# String Format for Double – format float numbers
- 2007 – C# String Format for Int – format (align) integer numbers
- 2007 – C# Socket Send and Receive – send and receive TCP/IP data using sockets
- 2007 – C# FileStream Open File – how to open file using file stream
- 2007 – C# FileStream Read File – how to safely read file stream
- 2007 – C# Sorting Arrays – how to easily sort arrays of custom type
- 2007 – C# File Attributes – how to get or set file attributes
- 2007 – C# Get File Time – how to get last modification time of a file
- 2007 – C# Select XML Nodes by Name – how to get xml nodes using XPath expressions
- 2007 – C# Select Top XML Nodes using XPath – how to select only first N xml nodes
- 2007 – C# Download Files from Web – how to download files from url to local disk
- 2007 – C# Delete All Files – how to delete files from the specified directory
- 2007 – C# Get Files from Directory – how to get files from directory
- 2007 – C# Load Text File to String – how to load text from file to string
- 2007 – C# Hourglass Wait Cursor – how to change mouse cursor to hourglass
- 2007 – C# Align String with Spaces – how to align text to the right or left
- 2007 – C# Indent String with Spaces – how to indent text with repeated spaces
- 2007 – C# Get Application Directory – how to get application or assembly folder
- 2007 – C# Get Method Names using Reflection – get names of methods of any class
- 2007 – C# Get Property Names using Reflection – get property names of any class
- 2007 – C# Get Calling Method using Reflection – how to get name of calling method
- 2007 – C# Get Call Stack – how to write method names from call stack
- 2007 – C# Create New Thread – how to create thread in .NET