24.07.2012 Transform .NET Config Files Programmatically
Programmatically transform web.config and app.config files in C#

24.07.2012 C# Read Embedded Resource
How to read embedded resources in C#.

23.07.2012 Convert MySQL CreateTable Statements to MS-SQL (Code Snippet)
Convert the create table definition from MySQL ready to use into Microsoft SQL Server 2008

23.07.2012 Point in Triangle (Code Snippet)
The traditional method is to use barycenter coordinates. By using parameterized triangle line segments, an interpolated point may be found.

04.12.2011 Enum to Readable String
How to convert C# enums to readable strings and parse them back.

03.12.2011 Projo
A look at an online project management tool called Projo.

22.09.2011 C# Extensions for Selenium WebDriver
Short list of useful extension functions written in C# to enhance the functionality of Selenium 2 WebDriver

22.09.2011 Generic String Parsing (Code Snippet)
A generic function for converting a string into a type.

21.08.2011 jQuery Selector for Selenium WebDriver
Add jQuery selectors to Selenium Webdriver in C# without modifying the Selenium server.

09.08.2011 Drawing Regular Polygons
How to draw regular polygons in C# by calculating vertex coordinates and using GDI

15.07.2011 Javascript Multi-line String Utility
A tool written in C# to transform multiple lines of text into a javascript-friendly multi-line string.

09.07.2011 Representing Graphs in C#
Possible ways to represent a graph data-structure in C# to implement graph algorithms.

11.05.2011 Compilr.com Online IDE
Compilr.com is an online IDE for PHP, C, C++, Ruby and compiler for Java, C# and VB

13.04.2011 Jiggle (Code Snippet)
This little snippet jiggles(shakes) your windows form.

09.03.2011 Extension methods for string hasing and encryption (Code Snippet)
This collection deals with strings security, with these extensions you can properly use hashing and encryption.

19.11.2010 Project a 2D Point on a Line (Code Snippet)
Perpendicularly project a 2D point onto a 2D line.

05.11.2010 Pick Random Elements Based on Probability
Pick a random element in a C# list based on the probability of each element.

11.07.2010 Box Blur
Implementing a box blur effect in C# via image convolution.

11.06.2010 TinyUrl Updater
Allows you to update a standalone app using TinyUrl.

16.05.2010 Optimal Five-Element Sort
An algorithm to optimally sort five elements in terms of number of comparisons.

05.04.2010 WinForm Resize Animation
Applying concepts of WinForm animation to create a smooth resizing animation effect.

02.04.2010 MS-Queue
Access the MS-Queue Windows component through C# to create some interesting and powerful applications.

22.03.2010 Distance Calculation using Latitude and Longitude in C# (Code Snippet)
ZIPCodeWorld provides this routine to calculate the distance between two points in C#.

14.03.2010 Print Console Table (Code Snippet)
Allows a Console App to create a basic table (with headers)

14.03.2010 Periodic Table in string[][] Array (Code Snippet)
Has every known element in a two dimensional array

20.02.2010 Get Image Hash Code
Simple approach to get the hash code of an image in C#.

17.02.2010 Multilevel Hierarchy - Class Interface (Code Snippet)
An example of a multilevel hierarchy using class interfaces

15.02.2010 Delete Self (Code Snippet)
Allows a standalone program to delete itself.

12.02.2010 Decimal To Fraction
A C# algorithm for approximating the fraction representation of decimal numbers.

10.02.2010 Fraction Structure (Code Snippet)
A C# struct to represent decimal numbers as fractions.

03.02.2010 Quadratic Formula Solver
.NET implementation of the quadratic formula to solve quadratic equations. Algorithms for working with double and float types.

27.01.2010 Symmetric Encryption
A description of symmetric encryption in C# to protect sensitive data. Overview of different symmetric encryption algorithms.

22.01.2010 Sort Strings by Length (Code Snippet)
Sort a collection of strings by their length, from shortest to longest.

10.01.2010 Clipboard Event Textbox
Create a textbox user control that has a cut, copy, and paste event.

06.01.2010 Working with Relative Paths
How to work with relative paths in C# WinForm applications.

26.12.2009 Combination Function (Code Snippet)
A simple function to calculate the number of possible combinations.

22.12.2009 Degree To Point and Back (Code Snippet)
Convert an angle in degrees into an XY-coordinate point and back.

17.12.2009 Partition List
How to split a list in C# into smaller lists (or partitions). The concepts apply to .NET arrays as well.

07.12.2009 Rounding Doubles
An explanation of how to round doubles in C# as well as the advantages of one method over another.

06.12.2009 PHP Time (Code Snippet)
Returns time represented in the same way as the PHP time() function.

21.11.2009 RNGCryptoServiceProvider Random Integer (Code Snippet)
Generate a random integer in a range using the RNGCryptoServiceProvider class.

14.11.2009 Data to CSV (Code Snippet)
Write a DataTable or a DataView to a CSV file.

29.10.2009 Shuffle Lists and Arrays (Code Snippet)
An in-place algorithm to randomly shuffle a list or array in C#

22.10.2009 Temporary File Class (Code Snippet)
Easily handle temporary file management in C#

22.10.2009 Taking Screenshots with C# (Code Snippet)
Using API calls in C# to capture an image of the monitor screen.

20.10.2009 Encryption Class (Code Snippet)
Class to easily encrypt strings and other types of data.

20.10.2009 Distance Formula (Code Snippet)
A simple implementation of the distance formula in C#

16.10.2009 Factorial (Code Snippet)
Calculate the factorial value of a number in C#.NET

16.10.2009 Code Snippets
Submit your C# code snippets to Visual C# Kicks! Post useful and unique code for others to use. Get your name and link to your website posted as well.

29.09.2009 SecureString
Using the SecureString .NET class to manage sensitive data in C# applications.

15.09.2009 Temporary Files
Working with temporary files in C# with the IO namespace.

03.09.2009 Call Functions by Name
Use reflection to call C# functions, including functions with parameters and return values.

18.08.2009 Request Google PageRank
How to request the Google PageRank of a website through C#.

13.08.2009 Self Hashing Application
Find out how to create a C# application that can calculate its own hash value.

06.08.2009 Create Instance From Type
Create a new instance of an object from a reference to a .NET type.

22.07.2009 Prevent Form Close
Learn how to prevent the user from closing a Windows Form.

09.07.2009 Access Properties by Name
Use reflection to read and write to properties of .NET objects in C#.

04.07.2009 Image Clip
Fast simple image clipping code in C# using GDI to ensure speed and efficiency.

29.06.2009 Environment Properties
Learn how to access common environment information through C#.NET.

20.06.2009 Action Lists
Add ActionLists to C# controls to make properties and methods more accessible during design-time.

15.06.2009 Virtual Forms
How to use the TabControl .NET control to create virtual Forms inside WinForms.

10.06.2009 Angle and Altitude User Controls
Two clean user controls written in C# to mimic the Photoshop angle and altitude selectors.

02.06.2009 String to Array
Learn how to convert a string into an array in C#.NET.

30.05.2009 Compute Hash
Compute the hash code of data in C# using .NET Framework classes.

23.05.2009 Passing Data Between Forms
How to pass data between Windows Forms in C# using parameters and properties of .NET classes.

20.05.2009 Capture Control Graphics
Capture the graphics of a visible .NET control to a bitmap using GDI.

18.05.2009 Image to Byte
Learn two effective methods to convert an image in C# into a byte array.

17.05.2009 Binary Searching a List
Using binary search on a sorted .NET List or ArrayList to quickly find elements.

14.05.2009 Extract Images From URL
Fetch all the images displayed on a webpage with C#.NET. Done by parsing the HTML code for image URLs.

06.05.2009 Aero Shake Form
Implement the new Window 7 Aero Shake feature in C# Windows Forms with simple .NET code.

30.04.2009 Load Image from URL
Load an image from a URL to memory, no need to save the image to the hard drive.

27.04.2009 Credit Card Verification
Quickly and easily verify credit card numbers in C# with the Luhn Algorithm. Works in desktop applications, ASP.NET, and mobile applications.

18.04.2009 Image Flip
Flip an image in C# with GDI and Matrix transformation, a simple yet powerful method for image transformation.

12.04.2009 HTML Emails with Gmail
Send HTML emails in C# with .NET Framework classes, no need for external components.

10.04.2009 ASP.NET Web Hosting
Read some points to consider when choosing an ASP.NET web hosting service for your web applications.

08.04.2009 .NET Stock Images
Discussion on stock images for developers along with some sample royalty-free stock images.

05.04.2009 Image Invert
Invert an image colors in .NET with three different methods. Read the advatanges of each method.

28.03.2009 Image Rotate
Rotate an image in C#.NET with only GDI , no need for complex bitmap rotation algorithms.

27.03.2009 Image Zoom
Create an application to zoom into image in C# by harnessing the power of GDI and C#.NET.

26.03.2009 Boolean Matrix
A C# implementation of a boolean matrix, complete with basic matrix operations and transformations.

22.03.2009 Encode URL
Encode a URL string in C# easily for both ASP and desktop development.

21.03.2009 Hex to RGB
Easily convert HTML hex colors to RGB colors in C#.

20.03.2009 Get-Set Method Generator
Automatically generate get-set methods in C# based on existing source code using simple text parsing.

18.03.2009 Image Noise Generator
Generate an image with grayscale noise for a variety of different purposes using a simple C# algorithm.

16.03.2009 Random String Generator
Write a flexible C# random string generator without complex algorithms. Useful for things such as random password generators.

13.03.2009 Draw Text Outline
Draw the outline of any text, as opposed to the fill, using only GDI in C#.NET.

06.03.2009 Aspect Ratio Form
Create C# Windows Form that keeps its aspect ratio as it is being resized without any flickering.

03.03.2009 Dominant Color in Image
Calculate the overall dominant color in an image using a simple C# algorithm.

24.02.2009 Windows 7 Style Form
Create a Windows Form in C# that docks and snaps to the screen edges like in the upcoming Windows 7.

12.02.2009 Write a Binary File
How to read and write a binary file in C# and some of its applications.

08.02.2009 VCSKicks CommandLink
The VCSKicks CommandLink control is a powerful control designed to mimic the look of command link control in Windows Vista and Windows 7.

28.01.2009 Code Region
Format C# and .NET source code in Visual Studio with region code blocks. Combined with keyboard shortcuts and a little common sense, regions can format code to make it more readable.

18.01.2009 Image Button
Add a great-looking C# image button to your .NET applications.

14.01.2009 Password Textbox
The two simplest ways to implement a C# Password Textbox.

11.01.2009 Launch EXE from Memory
Basics on how to launch a .NET application from memory using Reflection.

02.01.2009 Priority Queue
C# Priority Queue is a specialized Queue data structure. Useful in many applications and can be used for sorting data.

30.12.2008 AVL Tree
C# AVL Tree is a self-balancing binary tree designed to improve the running time of searching through data.

26.12.2008 Binary Search Tree
C# Binary Search Tree is a simple data structure for fast searching of data.

23.12.2008 Skip List
C# Skip List is a powerful data structure that allows for fast searching of data.

15.12.2008 KeyValuePair
Store pairs of values in with the C# KeyValuePair generic structure.

14.12.2008 Faster Bucket Sort
How to efficiently put the bucket sort algorithm in practice in C#.

07.12.2008 Dictionary
A close look at the C# Dictionary and SortedDictionary data structures.

05.12.2008 String Processing Library PRO Component
Witness the power of an advanced commercial .NET string processing library.

01.12.2008 Iterators
Explore the three C# iteration methods: for loop, foreach loop, and enumerators.

25.11.2008 HashSet
Overview of the new C# HashSet data structures along with some comparisons and benchmarks.

23.11.2008 Disk Drive
Easily open and close multiple CD and DVD trays programmatically with C#.

17.11.2008 XML Documentation
Use the .NET built-in XML documentation support to quickly add documentation to your C# projects without major hassels.

14.11.2008 Bucket Sort
Bucket sort is a simple algorithm for sorting data in C#.

06.11.2008 Greatest Common Denominator
Efficiently find the Greatest Common Denominator (GCD) of two numbers in C# by using the Euclidean Algorithm.

02.11.2008 C# Test Performance
Test the speed of C# methods and algorithms with this extremely easy to use SpeedTester class, written entirely in C# for fast and simple integration.

26.10.2008 Vista-Style Command Link Component
Download the free version of our Command-Link user control.

26.10.2008 String Processing Library Component
Download the free version of our String Processing Library component.

20.10.2008 C# Component Guideline
There are characteristics that a good C# component should have in order to make it worth selling. Here is a quick outline of some of those aspects.

18.10.2008 Convert Color and uint
Learn to convert between C# Color and uint variables. Helpful for working with Pointers in fast image processing.

12.10.2008 Convert Array to String
Convert any C# array to string with a single function. Supports generic and non-generic lists.

07.10.2008 Launch C# Hyperlink
Find out how to launch a hyperlink in C# using elements built-in the .Net Framework.

04.10.2008 Palindrome String Function
Use C# to check if a string is a palindrome or not using two different approaches.

28.09.2008 Extract Links
Extract links from a webpage URL or HTML using some simple, elegant C# code.

23.09.2008 Calculate Distance Formula
Calculate the distance between two points using a C# function to process the distance formula.

23.09.2008 Calculate Slope of Line
Calculate the slope of a line defined by two points with simple C# operations.

17.09.2008 Xor Encryption
Explore a simple way to encrypt string using the xor operator.

16.09.2008 Bind Window to Screen
Constrain a Windows Form to the bounds of the screen. Useful for preventing users from dragging a window outside of the bounded area.

15.09.2008 Draw Translucent Image
Harness the power of GDI to draw translucent images without needing more complex image processing algorithms.

11.09.2008 Question-Mark ? Operator
Shorten conditionals in C# by using the ? operator.

09.09.2008 Cross-Thread Operations
Properly and elegantly make cross-thread operations using delegates.

07.09.2008 Dynamic Controls
Work with dynamic controls in C#, including setting properties and attaching events.

04.09.2008 Set DataGridView Selection
How to set the row selected on a DataGridView control programmatically with C#.

02.09.2008 Generate GUID
How to generate a unique identifier, GUID, for use in all types of C# applications.

01.09.2008 Save TreeView State
Save the state of a TreeView when it is cleared and repopulated. Very useful when working with dynamic data displayed on a TreeView control.

21.08.2008 Drop-Down Dialog
Create an advanced dialog in C# to mimic the behavior of a drop-down list. Useful for user controls such as color pickers.

18.08.2008 Simplify Square Roots
Use a C# algorithm to simplify complicated square roots into their simplest, most accurate, terms.

16.08.2008 Loop Time
Make your applications run in circles for a specified amount of time without the need for a troublesome Timer control.

12.08.2008 Align User-Interface Programmatically
Align the controls in your Windows Form programmatically instead of relying on design-time to keep a clean user-interface.

07.08.2008 How to Create Strong-Type DataSet
Improve data-handling in your C# applications through the use of strong-typed DataSets, whether your are developing SQL-enabled applications or simpler XML ones.

07.08.2008 Using Professional Icons
Raise the presentation quality of your finished applications by adding icons. Read about tips for designing your own or for purchasing professional application icons.

07.08.2008 Four-Point Image Distortion
Distort a bitmap into any quadrilateral shape simply by specfiying the distinct locations of each of the corner points. All done in pure C# code.

05.08.2008 How to Load Image Files
Learn the basics of opening an image file to a variable in C#.

05.08.2008 Fast Image Processing
How to work with images in .NET using unsafe C# code. Massively increases the speed of image processing algorithms.

01.08.2008 Single-Instance Applications
Write C# applications that support single-instance run-time behavior. Prevent users from running your program more than once at the same time.

26.07.2008 Icon Extractor
Use C# and some API calls to easily extract an application icon and use it within your own program.

25.07.2008 Vista-Style Task Dialog
Integrate the visually-appealing TaskDialog Vista control into your C# applications, which works even on old versions of Windows.

24.07.2008 Code Obfuscation
Although C# applictions are vulnerable to code decompilation, there are methods to protect against it, one of which is code obfuscation.

22.07.2008 Splash Screens
Add a splash screen to C# applications based on any kind of image, shadows and transparency fully supported.

14.07.2008 Upgrading to Visual Studio
Despite the potential of the Visual Studio Express editions, there can be numerous reasons to upgrade to the full version of Visual Studio, even for small-to-medium sized projects.

08.07.2008 Improved 3D Drawing with GDI-Plus
Witness an improved 3D graphics GDI-Plus application. Built upon the original Euler 3D Rotation article, learn how to get around the Gimbal Lock problem and learn how to shade in 3D shapes in C#.

08.07.2008 Basic 3D Drawing with GDI-Plus
Draw a basic 3D cube using only GDI-Plus without the need for DirectX.

07.07.2008 Custom Control Properties
Enhance your custom user controls by customizing the way the designer displays the custom properties of the control.

07.07.2008 URL Checker
Access a URL address with a simple C# application to determine the validity of a website link.

30.06.2008 C# Programming Language of Choice
Explore the advantages of the C#.Net programming language as a development platform for small and big applications.

30.06.2008 Fading Windows Form
Create a Windows Form that fades in when the mouse hovers over it and fades out when the cursor leaves its bounds.

29.06.2008 Animated Windows Forms
Bring your C# applications to life with smooth consistent animations.

29.06.2008 True Random Numbers
Enhance your C# applications by giving them to ability to generate truly random numbers as opposed to pseudo-random ones.

22.06.2008 Download File FTP
Enable your C# applications to connect to the internet to download files and webpages from an FTP Server with nothing but pure C#.Net code.

21.06.2008 Download File HTTP
Enable your C# applications to connect to the internet to download files and webpages using nothing but .Net Framework classes.

14.06.2008 Custom Shape Form - Region
Create custom shaped forms but with the use of Regions. Regions allows for finer tuned behavior and can yield more stable results.

14.06.2008 Sorting 2D Points
Sorting points can be an extremely useful algorithm. Image processing algorithms often if not always require points to have a certain order, this class will use the IComparer interface to sort points according to either the X or Y values.

14.06.2008 Click-and-Drag Form
By using various Form events and some adding and subtracting, one can create the same effect of a windows titlebar.

14.06.2008 Custom Shape Form - Transperancy
Create Windows Forms that adapt to the shape of an imagine using a simple Form property. Custom shaped forms can be used to things such as creative splash screens.

14.06.2008 Numbers-Only Textbox
Different ways to allow users to only write numbers in a Windows Form Textbox.

14.06.2008 Display GIF Animations
Witness two simple methods to display animated images using only C# functions, accomplishing the task automatically or manually by accessing the animation frames.

14.06.2008 Randomize Array List
Discover how to randomize a list of items. Generate a new list where items are placed in random order.

14.06.2008 The C# Data Structures
Explore the various built-in C# data structures and their applications in this three part article.

14.06.2008 String Processing C# Functions Library
Discover the possibilities of string processing in C#.NET. Expand upon the basic string functions provided by the .Net Framework.

14.06.2008 Uploading a File with FTP
Easily upload a file through FTP using pure C#.

14.06.2008 Scanning Through a Hard Drive
A recursive approach to scanning through a harddrive in C#.

14.06.2008 Read Text File
Find out how to read a text file in C# with the System.IO namespace. Read it all at once or by lines, both methods are explained.

14.06.2008 Ajax Control Toolkit
Great place to start in expanding your collection of AJAX-enabled user controls.

14.06.2008 ASP.NET MessageBox
How to display a message box in ASP.Net using client-side code.

14.06.2008 7 Ways to Optimize C# Code
Discover seven simple ways to improve the readability and performance of C# source code and applications.

14.06.2008 Application Optimizing Utility
Test C# code segnments against each other to compare their performance speed.

14.06.2008 Assembly Custom Reference Path
Find out how to specify to a C# application on what subfolders to locate C# libraries that contain essential execution code.

14.06.2008 Unique Hardware ID
Obtaining a true hardware serial from a user computer can be tricky business. Luckily the .Net Framework provides the means to obtain a reliable ID which can in turn be used in licensing processes.

14.06.2008 Detect .NET Framework
With the reliance of C#.NET on the .NET Framework, the ability to detect if the .NET Framework is installed on a computer can be quite useful. Check out a simple way to do it.

14.06.2008 Capture Screen (download now)
Use some more advanced C# programming to capture the screen without the use of the Prnt Scrn key.

14.06.2008 Drag-and-Drop (download now)
The drag-and-drop functionality in C# programs is not as simple as it should be. Download this quick example to get a full working piece of source code to work from.

14.06.2008 Screen Locker (download now)
In the internet you will find some fancy and expensive programs that can lock down your computer when you are away. In this project we will explore some fun brute-force techniques to create our very own screen locker application in C#.

14.06.2008 Encryption Class (download now)
Use this class of static methods to quickly encrypt and decrypt strings or directly a byte array. Encryption and decryption works based on a password.

14.06.2008 Time Calculator (download now)
Add and subtract different times by switching between different time-formats used in C#.

14.06.2008 Get Server Real-Time (download now)
Use C# to ask a web server for the actual current time. Useful for distribution applications and other time sensitive programs.

14.06.2008 Compress Data (download now)
Compress and decompress bytes on-the-fly with C# functions, no need for external libraries.

14.06.2008 File Size From Bytes
Learn how to convert a number of bytes into an estimated file size. File size is derived simply from a table of values.