All articles and source code are under the Visual C# Kicks license agreement
Hide Articles
Hide Articles
Pick Random Elements Based on Probability Pick a random element in a C# list based on the probability of each element.
Rounding Doubles An explanation of how to round doubles in C# as well as the advantages of one method over another.
Decimal To Fraction A C# algorithm for approximating the fraction representation of decimal numbers.
Greatest Common Denominator Efficiently find the Greatest Common Denominator (GCD) of two numbers in C# by using the Euclidean Algorithm.
Quadratic Formula Solver .NET implementation of the quadratic formula to solve quadratic equations. Algorithms for working with double and float types.
Simplify Square Roots Use a C# algorithm to simplify complicated square roots into their simplest, most accurate, terms.
Calculate Slope of Line Calculate the slope of a line defined by two points with simple C# operations.
Boolean Matrix A C# implementation of a boolean matrix, complete with basic matrix operations and transformations.
Calculate Distance Formula Calculate the distance between two points using a C# function to process the distance formula.
Hide Articles
Compute Hash Compute the hash code of data in C# using .NET Framework classes.
Symmetric Encryption A description of symmetric encryption in C# to protect sensitive data. Overview of different symmetric encryption algorithms.
True Random Numbers Enhance your C# applications by giving them to ability to generate truly random numbers as opposed to pseudo-random ones.
SecureString Using the SecureString .NET class to manage sensitive data in C# applications.
Random String Generator Write a flexible C# random string generator without complex algorithms. Useful for things such as random password generators.
Xor Encryption Explore a simple way to encrypt string using the xor operator.
Self Hashing Application Find out how to create a C# application that can calculate its own hash value.
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.
Hide Articles
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.
Fast Image Processing How to work with images in .NET using unsafe C# code. Massively increases the speed of image processing algorithms.
Drawing Regular Polygons How to draw regular polygons in C# by calculating vertex coordinates and using GDI
Box Blur Implementing a box blur effect in C# via image convolution.
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.
Get Image Hash Code Simple approach to get the hash code of an image in C#.
Basic 3D Drawing with GDI-Plus Draw a basic 3D cube using only GDI-Plus without the need for DirectX.
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#.
Image Invert Invert an image colors in .NET with three different methods. Read the advatanges of each method.
Icon Extractor Use C# and some API calls to easily extract an application icon and use it within your own program.
Convert Color and uint Learn to convert between C# Color and uint variables. Helpful for working with Pointers in fast image processing.
Image Zoom Create an application to zoom into image in C# by harnessing the power of GDI and C#.NET.
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.
Image Clip Fast simple image clipping code in C# using GDI to ensure speed and efficiency.
Hex to RGB Easily convert HTML hex colors to RGB colors in C#.
Image Rotate Rotate an image in C#.NET with only GDI , no need for complex bitmap rotation algorithms.
Image Flip Flip an image in C# with GDI and Matrix transformation, a simple yet powerful method for image transformation.
Draw Text Outline Draw the outline of any text, as opposed to the fill, using only GDI in C#.NET.
Draw Translucent Image Harness the power of GDI to draw translucent images without needing more complex image processing algorithms.
How to Load Image Files Learn the basics of opening an image file to a variable in C#.
Dominant Color in Image Calculate the overall dominant color in an image using a simple C# algorithm.
Image Noise Generator Generate an image with grayscale noise for a variety of different purposes using a simple C# algorithm.
Hide Articles
Scanning Through a Hard Drive A recursive approach to scanning through a harddrive in C#.
The C# Data Structures Explore the various built-in C# data structures and their applications in this three part article.
Uploading a File with FTP Easily upload a file through FTP using pure C#.
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.
KeyValuePair Store pairs of values in with the C# KeyValuePair generic structure.
Dictionary A close look at the C# Dictionary and SortedDictionary data structures.
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.
Binary Searching a List Using binary search on a sorted .NET List or ArrayList to quickly find elements.
Set DataGridView Selection How to set the row selected on a DataGridView control programmatically with C#.
Randomize Array List Discover how to randomize a list of items. Generate a new list where items are placed in random order.
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.
Binary Search Tree C# Binary Search Tree is a simple data structure for fast searching of data.
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.
Working with Relative Paths How to work with relative paths in C# WinForm applications.
Write a Binary File How to read and write a binary file in C# and some of its applications.
Partition List How to split a list in C# into smaller lists (or partitions). The concepts apply to .NET arrays as well.
Temporary Files Working with temporary files in C# with the IO namespace.
Bucket Sort Bucket sort is a simple algorithm for sorting data in C#.
Priority Queue C# Priority Queue is a specialized Queue data structure. Useful in many applications and can be used for sorting data.
Image to Byte Learn two effective methods to convert an image in C# into a byte array.
HashSet Overview of the new C# HashSet data structures along with some comparisons and benchmarks.
Palindrome String Function Use C# to check if a string is a palindrome or not using two different approaches.
AVL Tree C# AVL Tree is a self-balancing binary tree designed to improve the running time of searching through data.
Faster Bucket Sort How to efficiently put the bucket sort algorithm in practice in C#.
Iterators Explore the three C# iteration methods: for loop, foreach loop, and enumerators.
Convert Array to String Convert any C# array to string with a single function. Supports generic and non-generic lists.
Skip List C# Skip List is a powerful data structure that allows for fast searching of data.
String to Array Learn how to convert a string into an array in C#.NET.
Compress Data (download now) Compress and decompress bytes on-the-fly with C# functions, no need for external libraries.
Hide Articles
Ajax Control Toolkit Great place to start in expanding your collection of AJAX-enabled user controls.
ASP.NET MessageBox How to display a message box in ASP.Net using client-side code.
ASP.NET Web Hosting Read some points to consider when choosing an ASP.NET web hosting service for your web applications.
Hide Articles
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.
Download File HTTP Enable your C# applications to connect to the internet to download files and webpages using nothing but .Net Framework classes.
URL Checker Access a URL address with a simple C# application to determine the validity of a website link.
Extract Links Extract links from a webpage URL or HTML using some simple, elegant C# code.
Launch C# Hyperlink Find out how to launch a hyperlink in C# using elements built-in the .Net Framework.
Load Image from URL Load an image from a URL to memory, no need to save the image to the hard drive.
Encode URL Encode a URL string in C# easily for both ASP and desktop development.
HTML Emails with Gmail Send HTML emails in C# with .NET Framework classes, no need for external components.
Javascript Multi-line String Utility A tool written in C# to transform multiple lines of text into a javascript-friendly multi-line string.
Extract Images From URL Fetch all the images displayed on a webpage with C#.NET. Done by parsing the HTML code for image URLs.
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.
Hide Articles
Environment Properties Learn how to access common environment information through C#.NET.
Compilr.com Online IDE Compilr.com is an online IDE for PHP, C, C++, Ruby and compiler for Java, C# and VB
jQuery Selector for Selenium WebDriver Add jQuery selectors to Selenium Webdriver in C# without modifying the Selenium server.
Question-Mark ? Operator Shorten conditionals in C# by using the ? operator.
MS-Queue Access the MS-Queue Windows component through C# to create some interesting and powerful applications.
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.
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.
Application Optimizing Utility Test C# code segnments against each other to compare their performance speed.
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.
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.
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.
Representing Graphs in C# Possible ways to represent a graph data-structure in C# to implement graph algorithms.
Request Google PageRank How to request the Google PageRank of a website through C#.
C# Extensions for Selenium WebDriver Short list of useful extension functions written in C# to enhance the functionality of Selenium 2 WebDriver
Create Instance From Type Create a new instance of an object from a reference to a .NET type.
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.
.NET Stock Images Discussion on stock images for developers along with some sample royalty-free stock images.
Loop Time Make your applications run in circles for a specified amount of time without the need for a troublesome Timer control.
Get-Set Method Generator Automatically generate get-set methods in C# based on existing source code using simple text parsing.
Disk Drive Easily open and close multiple CD and DVD trays programmatically with C#.
Action Lists Add ActionLists to C# controls to make properties and methods more accessible during design-time.
Generate GUID How to generate a unique identifier, GUID, for use in all types of C# applications.
Access Properties by Name Use reflection to read and write to properties of .NET objects in C#.
Call Functions by Name Use reflection to call C# functions, including functions with parameters and return values.
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.
C# Read Embedded Resource New How to read embedded resources in C#.
Enum to Readable String How to convert C# enums to readable strings and parse them back.
Projo A look at an online project management tool called Projo.
Transform .NET Config Files Programmatically New Programmatically transform web.config and app.config files in C#
Time Calculator (download now) Add and subtract different times by switching between different time-formats used in C#.
Hide Articles
7 Ways to Optimize C# Code Discover seven simple ways to improve the readability and performance of C# source code and applications.
C# Programming Language of Choice Explore the advantages of the C#.Net programming language as a development platform for small and big applications.
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.
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.
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.
Code Obfuscation Although C# applictions are vulnerable to code decompilation, there are methods to protect against it, one of which is code obfuscation.
XML Documentation Use the .NET built-in XML documentation support to quickly add documentation to your C# projects without major hassels.
All C# Articles and source code are under the Visual C# Kicks license agreement