BLOG.CSHARPHELPER.COM: Category Archive for algorithms

Make a program that simulates rolling two 6-sided dice and compares the results to expected results in C#

Calculate Fibonacci numbers in several ways in C#

Use a cryptographic random number generator in C#

Recursively draw equations in C#

Use a for loop to recursively iterate over the items in an array with an unknown number of dimensions in C#

Warp images arbitrarily in C#, Part 2

Warp images arbitrarily in C#

Draw animated exploding 3-dimensional pie slices in C#

Draw 3-dimensional pie slices in C#

Calculate where a line segment and an ellipse intersect in C#

Draw a pie chart with labels and annotations in C#

Draw a labeled pie chart in C#

Draw a pie chart in C#

Initialize a Random object to produce a repeatable series of "random" numbers in C#

Generate random polygons in C#

Calculate the present value of a future amount of money in C#

Add LINQ to the example that suggests words based on what the user is typing in C#

Improve the example that suggests words based on what the user is typing in C#

Suggest words based on what the user is typing as a smart phone does in C#

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#

Calendar

November 2012
SuMoTuWeThFrSa
123
45678910
11121314151617
18192021222324
252627282930

Subscribe


Blog Software
Blog Software