BLOG.CSHARPHELPER.COM: Category Archive for algorithms

Use the yield statement to make an enumeration in C#

Use the Sieve of Eratosthenes to find prime numbers in a range in C#

Compare sorting algorithms in C#, article 5 of 5

Compare sorting algorithms in C#, article 4 of 5

Compare sorting algorithms in C#, article 3 of 5

Compare sorting algorithms in C#, article 2 of 5

Compare sorting algorithms in C#, article 1 of 5

Draw a star with a given number of points in C#

Parse file sizes in KB, MB, GB, and so forth in C#

Pixellate parts of an image in C#

Draw a phi spiral (or golden spiral) in C#

Use image processing techniques to pixellate an image and create other effects in C#

Make a hangman game in C#

Use LINQ to select specific words from a file to build a dictionary in C#

Draw a nested series of golden rectangles in C#

Examine the relationship between the Fibonacci sequence and phi in C#

Make extension methods that randomize arrays and lists in C#

Platonic Solids Part 4: The dodecahedron and icosahedron

Platonic Solids Part 3: The cube and octahedron

Platonic Solids Part 2: The tetrahedron

Platonic Solids Part 1: What are the Platonic solids?

Use "banker's rounding" and "normal" rounding in C#

Make a game where you control a cannon ball's angle and speed to try to hit a house in C#

Extract text created by DrawString from a metafile in C#

Enumerate the records in a metafile and skip some in C#

Use BeginInvoke and a callback to perform tasks asynchronously in C#

Use BeginInvoke and EndInvoke to perform tasks asynchronously in C#

Recursively perform red-eye reduction on a picture in C#

Perform red-eye reduction on a picture in C#

Use a scroll bar to change the cutoff value for binary contrast enhancement in C#

Perform binary contrast enhancement on an image in C#

Loop over the entries in an array without knowing how many dimensions the array has in C#

Add "extension properties" to classes in C#

Make stable appointment assignments based on customer preferences in C#

Graph an equation entered by the user in C#

Graph an equation y = F(x) in C#

Evaluate numeric expressions that are entered by the user in C#

List the languages that you can compile with code in C#

Compile code entered at run time, execute it, and get the return result in C#

Find and display solutions to the "find the squares" puzzle in C#

Draw a large circle that circumscribes three smaller tangent circles in C#

Animate a series of images in C#

Animate moving interlocked gears in C#

Draw gears in C#

Puzzle: find the squares in C#

Let a thread call a form's methods in C#

Run Threads with different priorities in C#

Use LINQ to order a list of words by the number of distinct letters they contain in C#

Draw four interlocking Heighway dragons in C#

Center a fractal Heighway dragon curve in C#

Use XOR to swap two numbers in C#

Draw a fractal Heighway dragon curve in C#

Count the black and white pixels in an image in C#

Find and display solutions to the equilateral triangles puzzle in C#

Make and use bitmasks in C#

Understand how to use bit masks in C#

Make an extension method that randomizes a two-dimensional array in C#

Draw an Apollonian gasket with circles filled by random colors in C#

Draw an Apollonian gasket (or Apollonian packing) in C#

Clone lists and arrays of objects in C#

Use serialization to make deep clones of a class in C#

Puzzle: find the equilateral triangles in C#

Use the MemberwiseClone method and implement the ICloneable interface in C#

Make shallow and deep clones of objects in C#

Convert latitudes and longitudes into distances on the globe in C#

Draw three circles and find circles that are tangent to all three in C#

Find circles that are tangent to three given circles (Apollonius' Problem) in C#

Use steganography to hide one large picture inside another in C#

Use steganography to hide one picture inside another in C#

Draw a circle through three points in C#

Write a method to make a Region representing the non-transparent pixels in an image in C#

Shape PictureBoxes by setting their regions in C#

Make a generic TreeNode class that can draw trees oriented vertically or horizontally in C#

Get font metrics in C#

Measure character positions in a drawn string in C#

Use scrollbars to select a color in RGB or HLS format in C#

Convert colors from the RGB model to the HLS model and vice versa in C#

Map numeric values to and from colors in a color gradient in C#

Examine different investment strategies with Dow Jones Industrial Average data in C#

Compress all of the JPG files in a directory in C#

Use a binary search to quickly pick a JPG compression level in C#

Pick a JPG compression level to make a file no bigger than a certain size in C#

Generate all possible letter combinations of a given length in C#

Generate all possible three-letter words in C#

Make extension methods that convert numbers between Arabic and Roman numerals in C#

Make a map zooming program create hotspot code in C#

Display a map at different scales with hotspots that the user can click in C#

Measure distances on a map with a scale and display them with limited significant digits in C#

Display a floating point number with a specific number of significant digits in C#

Measure distances on a map with a scale in C#

Sort partly numeric items in a ComboBox or ListBox in C#

Sort items in a ComboBox or ListBox numerically in C#

Reduce the number of colors in a Bitmap and remap them to make interesting effects in C#

Draw an animation of a piston driving a wheel in C#

Draw an animation of two rods connected to a rotating wheel in C#

Draw a simple robot arm with a hand in C#

Draw a simple robot arm in C#

Calculate how long it will take to pay off a credit card by making minimum payments in C#

Calculate the future value of a monthly investment with interest in C#

Draw a colored Pickover popcorn fractal in C#

Calendar

July 2012
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
293031

Subscribe


Blog Software
Blog Software