Main Navigation
Home
Blog
Index
Search
Articles
Books
Contact
BLOG.CSHARPHELPER.COM: Category Archive for algorithms
Use the yield statement to make an enumeration in C#
Posted by Rod Stephens at
6/26/2012 7:08 AM
|
Add Comment
Use the Sieve of Eratosthenes to find prime numbers in a range in C#
Posted by Rod Stephens at
6/25/2012 2:56 PM
|
Add Comment
Compare sorting algorithms in C#, article 5 of 5
Posted by Rod Stephens at
6/22/2012 6:20 AM
|
Add Comment
Compare sorting algorithms in C#, article 4 of 5
Posted by Rod Stephens at
6/21/2012 6:17 AM
|
Add Comment
Compare sorting algorithms in C#, article 3 of 5
Posted by Rod Stephens at
6/20/2012 6:16 AM
|
Add Comment
Compare sorting algorithms in C#, article 2 of 5
Posted by Rod Stephens at
6/19/2012 6:12 AM
|
Add Comment
Compare sorting algorithms in C#, article 1 of 5
Posted by Rod Stephens at
6/18/2012 6:02 AM
|
View Comments (6)
|
Add Comment
Draw a star with a given number of points in C#
Posted by Rod Stephens at
6/4/2012 7:56 AM
|
Add Comment
Parse file sizes in KB, MB, GB, and so forth in C#
Posted by Rod Stephens at
6/1/2012 7:22 AM
|
Add Comment
Pixellate parts of an image in C#
Posted by Rod Stephens at
5/23/2012 7:29 AM
|
Add Comment
Draw a phi spiral (or golden spiral) in C#
Posted by Rod Stephens at
5/17/2012 7:19 AM
|
View Comments (3)
|
Add Comment
Use image processing techniques to pixellate an image and create other effects in C#
Posted by Rod Stephens at
5/16/2012 6:46 AM
|
Add Comment
Make a hangman game in C#
Posted by Rod Stephens at
4/19/2012 8:53 AM
|
Add Comment
Use LINQ to select specific words from a file to build a dictionary in C#
Posted by Rod Stephens at
4/18/2012 9:41 AM
|
Add Comment
Draw a nested series of golden rectangles in C#
Posted by Rod Stephens at
4/17/2012 5:36 PM
|
View Comments (2)
|
Add Comment
Examine the relationship between the Fibonacci sequence and phi in C#
Posted by Rod Stephens at
4/16/2012 9:02 AM
|
Add Comment
Make extension methods that randomize arrays and lists in C#
Posted by Rod Stephens at
4/4/2012 8:34 AM
|
Add Comment
Platonic Solids Part 4: The dodecahedron and icosahedron
Posted by Rod Stephens at
3/29/2012 6:50 AM
|
Add Comment
Platonic Solids Part 3: The cube and octahedron
Posted by Rod Stephens at
3/28/2012 7:20 AM
|
Add Comment
Platonic Solids Part 2: The tetrahedron
Posted by Rod Stephens at
3/27/2012 7:27 AM
|
Add Comment
Platonic Solids Part 1: What are the Platonic solids?
Posted by Rod Stephens at
3/26/2012 8:21 AM
|
Add Comment
Use "banker's rounding" and "normal" rounding in C#
Posted by Rod Stephens at
3/22/2012 1:45 PM
|
Add Comment
Make a game where you control a cannon ball's angle and speed to try to hit a house in C#
Posted by Rod Stephens at
3/9/2012 5:06 PM
|
Add Comment
Extract text created by DrawString from a metafile in C#
Posted by Rod Stephens at
2/24/2012 11:02 AM
|
Add Comment
Enumerate the records in a metafile and skip some in C#
Posted by Rod Stephens at
2/23/2012 9:32 AM
|
Add Comment
Use BeginInvoke and a callback to perform tasks asynchronously in C#
Posted by Rod Stephens at
2/22/2012 8:58 AM
|
Add Comment
Use BeginInvoke and EndInvoke to perform tasks asynchronously in C#
Posted by Rod Stephens at
2/21/2012 9:08 AM
|
Add Comment
Recursively perform red-eye reduction on a picture in C#
Posted by Rod Stephens at
2/17/2012 9:39 AM
|
Add Comment
Perform red-eye reduction on a picture in C#
Posted by Rod Stephens at
2/15/2012 9:56 AM
|
View Comments (1)
|
Add Comment
Use a scroll bar to change the cutoff value for binary contrast enhancement in C#
Posted by Rod Stephens at
2/14/2012 1:05 PM
|
Add Comment
Perform binary contrast enhancement on an image in C#
Posted by Rod Stephens at
2/13/2012 9:10 AM
|
Add Comment
Loop over the entries in an array without knowing how many dimensions the array has in C#
Posted by Rod Stephens at
2/6/2012 2:33 PM
|
View Comments (1)
|
Add Comment
Add "extension properties" to classes in C#
Posted by Rod Stephens at
1/31/2012 6:07 AM
|
Add Comment
Make stable appointment assignments based on customer preferences in C#
Posted by Rod Stephens at
1/30/2012 7:23 AM
|
Add Comment
Graph an equation entered by the user in C#
Posted by Rod Stephens at
1/24/2012 1:17 PM
|
Add Comment
Graph an equation y = F(x) in C#
Posted by Rod Stephens at
1/23/2012 8:49 AM
|
Add Comment
Evaluate numeric expressions that are entered by the user in C#
Posted by Rod Stephens at
1/20/2012 12:30 PM
|
Add Comment
List the languages that you can compile with code in C#
Posted by Rod Stephens at
1/17/2012 7:57 AM
|
Add Comment
Compile code entered at run time, execute it, and get the return result in C#
Posted by Rod Stephens at
1/16/2012 2:54 PM
|
View Comments (5)
|
Add Comment
Find and display solutions to the "find the squares" puzzle in C#
Posted by Rod Stephens at
1/11/2012 10:58 AM
|
Add Comment
Draw a large circle that circumscribes three smaller tangent circles in C#
Posted by Rod Stephens at
12/29/2011 8:25 AM
|
Add Comment
Animate a series of images in C#
Posted by Rod Stephens at
12/23/2011 9:19 AM
|
Add Comment
Animate moving interlocked gears in C#
Posted by Rod Stephens at
12/22/2011 11:07 AM
|
Add Comment
Draw gears in C#
Posted by Rod Stephens at
12/21/2011 12:09 PM
|
Add Comment
Puzzle: find the squares in C#
Posted by Rod Stephens at
12/19/2011 9:41 AM
|
Add Comment
Let a thread call a form's methods in C#
Posted by Rod Stephens at
12/16/2011 4:07 PM
|
Add Comment
Run Threads with different priorities in C#
Posted by Rod Stephens at
12/15/2011 9:17 AM
|
Add Comment
Use LINQ to order a list of words by the number of distinct letters they contain in C#
Posted by Rod Stephens at
12/14/2011 7:22 PM
|
Add Comment
Draw four interlocking Heighway dragons in C#
Posted by Rod Stephens at
12/13/2011 9:44 AM
|
Add Comment
Center a fractal Heighway dragon curve in C#
Posted by Rod Stephens at
12/12/2011 2:53 PM
|
Add Comment
Use XOR to swap two numbers in C#
Posted by Rod Stephens at
12/9/2011 11:36 AM
|
Add Comment
Draw a fractal Heighway dragon curve in C#
Posted by Rod Stephens at
12/8/2011 5:51 PM
|
Add Comment
Count the black and white pixels in an image in C#
Posted by Rod Stephens at
12/6/2011 11:43 AM
|
View Comments (2)
|
Add Comment
Find and display solutions to the equilateral triangles puzzle in C#
Posted by Rod Stephens at
12/5/2011 8:03 AM
|
Add Comment
Make and use bitmasks in C#
Posted by Rod Stephens at
12/3/2011 2:17 PM
|
Add Comment
Understand how to use bit masks in C#
Posted by Rod Stephens at
12/2/2011 3:29 PM
|
Add Comment
Make an extension method that randomizes a two-dimensional array in C#
Posted by Rod Stephens at
11/28/2011 9:21 AM
|
Add Comment
Draw an Apollonian gasket with circles filled by random colors in C#
Posted by Rod Stephens at
11/23/2011 10:49 AM
|
Add Comment
Draw an Apollonian gasket (or Apollonian packing) in C#
Posted by Rod Stephens at
11/22/2011 8:32 AM
|
Add Comment
Clone lists and arrays of objects in C#
Posted by Rod Stephens at
11/21/2011 8:35 AM
|
View Comments (1)
|
Add Comment
Use serialization to make deep clones of a class in C#
Posted by Rod Stephens at
11/19/2011 7:48 AM
|
View Comments (4)
|
Add Comment
Puzzle: find the equilateral triangles in C#
Posted by Rod Stephens at
11/18/2011 11:00 AM
|
Add Comment
Use the MemberwiseClone method and implement the ICloneable interface in C#
Posted by Rod Stephens at
11/17/2011 8:45 AM
|
Add Comment
Make shallow and deep clones of objects in C#
Posted by Rod Stephens at
11/16/2011 10:19 AM
|
Add Comment
Convert latitudes and longitudes into distances on the globe in C#
Posted by Rod Stephens at
11/15/2011 9:20 AM
|
Add Comment
Draw three circles and find circles that are tangent to all three in C#
Posted by Rod Stephens at
11/14/2011 7:49 AM
|
Add Comment
Find circles that are tangent to three given circles (Apollonius' Problem) in C#
Posted by Rod Stephens at
11/11/2011 6:51 AM
|
Add Comment
Use steganography to hide one large picture inside another in C#
Posted by Rod Stephens at
11/10/2011 7:32 AM
|
Add Comment
Use steganography to hide one picture inside another in C#
Posted by Rod Stephens at
11/9/2011 11:06 PM
|
Add Comment
Draw a circle through three points in C#
Posted by Rod Stephens at
11/8/2011 9:38 AM
|
View Comments (2)
|
Add Comment
Write a method to make a Region representing the non-transparent pixels in an image in C#
Posted by Rod Stephens at
10/28/2011 9:12 AM
|
Add Comment
Shape PictureBoxes by setting their regions in C#
Posted by Rod Stephens at
10/27/2011 12:07 PM
|
Add Comment
Make a generic TreeNode class that can draw trees oriented vertically or horizontally in C#
Posted by Rod Stephens at
10/25/2011 6:45 AM
|
View Comments (3)
|
Add Comment
Get font metrics in C#
Posted by Rod Stephens at
10/13/2011 9:32 AM
|
Add Comment
Measure character positions in a drawn string in C#
Posted by Rod Stephens at
10/12/2011 11:46 AM
|
Add Comment
Use scrollbars to select a color in RGB or HLS format in C#
Posted by Rod Stephens at
10/11/2011 10:08 AM
|
Add Comment
Convert colors from the RGB model to the HLS model and vice versa in C#
Posted by Rod Stephens at
10/10/2011 12:59 PM
|
View Comments (1)
|
Add Comment
Map numeric values to and from colors in a color gradient in C#
Posted by Rod Stephens at
10/7/2011 2:46 PM
|
Add Comment
Examine different investment strategies with Dow Jones Industrial Average data in C#
Posted by Rod Stephens at
10/6/2011 1:35 PM
|
Add Comment
Compress all of the JPG files in a directory in C#
Posted by Rod Stephens at
10/4/2011 6:52 AM
|
Add Comment
Use a binary search to quickly pick a JPG compression level in C#
Posted by Rod Stephens at
10/3/2011 7:43 PM
|
Add Comment
Pick a JPG compression level to make a file no bigger than a certain size in C#
Posted by Rod Stephens at
10/1/2011 7:18 AM
|
Add Comment
Generate all possible letter combinations of a given length in C#
Posted by Rod Stephens at
9/30/2011 8:08 AM
|
View Comments (2)
|
Add Comment
Generate all possible three-letter words in C#
Posted by Rod Stephens at
9/29/2011 8:31 AM
|
Add Comment
Make extension methods that convert numbers between Arabic and Roman numerals in C#
Posted by Rod Stephens at
9/25/2011 8:53 AM
|
Add Comment
Make a map zooming program create hotspot code in C#
Posted by Rod Stephens at
9/21/2011 12:15 PM
|
Add Comment
Display a map at different scales with hotspots that the user can click in C#
Posted by Rod Stephens at
9/20/2011 12:33 PM
|
Add Comment
Measure distances on a map with a scale and display them with limited significant digits in C#
Posted by Rod Stephens at
9/15/2011 10:17 AM
|
Add Comment
Display a floating point number with a specific number of significant digits in C#
Posted by Rod Stephens at
9/14/2011 6:37 AM
|
Add Comment
Measure distances on a map with a scale in C#
Posted by Rod Stephens at
9/13/2011 7:30 AM
|
Add Comment
Sort partly numeric items in a ComboBox or ListBox in C#
Posted by Rod Stephens at
9/11/2011 5:12 PM
|
Add Comment
Sort items in a ComboBox or ListBox numerically in C#
Posted by Rod Stephens at
9/10/2011 9:49 AM
|
View Comments (2)
|
Add Comment
Reduce the number of colors in a Bitmap and remap them to make interesting effects in C#
Posted by Rod Stephens at
9/7/2011 6:37 AM
|
Add Comment
Draw an animation of a piston driving a wheel in C#
Posted by Rod Stephens at
9/6/2011 1:02 PM
|
Add Comment
Draw an animation of two rods connected to a rotating wheel in C#
Posted by Rod Stephens at
9/3/2011 1:44 PM
|
Add Comment
Draw a simple robot arm with a hand in C#
Posted by Rod Stephens at
8/26/2011 7:26 AM
|
Add Comment
Draw a simple robot arm in C#
Posted by Rod Stephens at
8/25/2011 7:06 AM
|
Add Comment
Calculate how long it will take to pay off a credit card by making minimum payments in C#
Posted by Rod Stephens at
8/22/2011 7:34 AM
|
Add Comment
Calculate the future value of a monthly investment with interest in C#
Posted by Rod Stephens at
8/21/2011 7:04 AM
|
Add Comment
Draw a colored Pickover popcorn fractal in C#
Posted by Rod Stephens at
8/17/2011 6:36 AM
|
Add Comment
Older Posts
Quick Search
Search only in titles:
Keyword:
Search in:
Title
Title and Contents
Title and Comments
Title, Contents, Comments
Date Range:
1 week
2 weeks
1 month
3 months
All
Advanced Search
Basic Search
Calendar
July 2012
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Subscribe
Twitter Link
follow CSharpHelper at http://twitter.com
Syndicate
Posts Atom 1.0
Comments Atom 1.0
Posts RSS 2.0
Comments RSS 2.0
Podcasts RSS 2.0
Recent Posts
Determine the number of trials needed to reach a certain probability of an event occurring in C#
Friday, July 20, 2012
Calculate the probability of an event occurring in a given number of trials in C#
Thursday, July 19, 2012
Link to list of options for making Access data available online
Thursday, July 19, 2012
Understand probabilities of unrelated events (and escaping zombies)
Tuesday, July 17, 2012
Display reusable dialog forms in C#
Monday, July 16, 2012
Compare the performance of the int, long, and byte data types in C#
Thursday, July 12, 2012
Compare the performance of the float, double, and decimal data types in C#
Wednesday, July 11, 2012
Load several images into an Access all at once database in C#
Tuesday, July 10, 2012
Load a saved image from an Access database in C#
Monday, July 09, 2012
Save an image in an Access database in C#
Friday, July 06, 2012
Monthly Archives
2012
July 2012 (11)
June 2012 (21)
May 2012 (21)
April 2012 (19)
March 2012 (19)
February 2012 (19)
January 2012 (21)
2011
December 2011 (22)
November 2011 (23)
October 2011 (23)
September 2011 (23)
August 2011 (23)
July 2011 (13)
June 2011 (21)
May 2011 (25)
April 2011 (21)
March 2011 (15)
February 2011 (19)
January 2011 (28)
2010
December 2010 (30)
November 2010 (24)
October 2010 (25)
September 2010 (15)
August 2010 (9)
July 2010 (22)
June 2010 (30)
May 2010 (28)
April 2010 (28)
March 2010 (25)
February 2010 (19)
January 2010 (34)
2009
December 2009 (27)
November 2009 (26)
October 2009 (1)
Category Archives
ADO.NET (2)
algorithms (208)
animation (11)
API (11)
arrays (14)
attributes (2)
audio (3)
books (1)
calculations (2)
challenges (3)
classes (22)
clipboard (3)
coding (2)
combinatorics (3)
console (1)
controls (98)
cryptography (6)
curve fitting (4)
database (10)
debugging (4)
dialogs (8)
directories (7)
Drag and Drop (4)
drawings (3)
enums (3)
Event (2)
events (1)
Excel (6)
extension methods (11)
extensions (3)
files (43)
finance (9)
fonts (22)
forms (19)
fractals (29)
ftp (1)
games (7)
geometry (24)
globalization (1)
graphics (291)
html (4)
IDE (5)
inheritance (1)
interfaces (4)
internationalization (4)
internet (11)
interoperability (3)
LINQ (8)
lists (2)
localization (3)
mathematics (86)
memory (2)
menus (8)
MessageBox (1)
methods (1)
miscellany (17)
multimedia (9)
network (3)
Office (10)
OOP (4)
OOPS (1)
operators (3)
parsing (6)
performance (6)
printers (4)
printing (10)
productivity (1)
programs (18)
reflection (3)
registry (2)
regular expressions (9)
serialization (2)
settings (2)
SQL (2)
stories (1)
strings (32)
syntax (24)
system (37)
threading (7)
tips (5)
transformations (4)
variables (13)
VBA (4)
web (8)
WMI (3)
Word (5)
wpf (6)
XAML (4)
XML (4)
Recent Comments
Zeke on
Find the shortest distance between a point and a line segment in C#
7/20/2012
E Anderson on
Compare the performance of the float, double, and decimal data types in C#
7/17/2012
Rod Stephens on
Compare the performance of the float, double, and decimal data types in C#
7/16/2012
CarlD on
Compare the performance of the float, double, and decimal data types in C#
7/12/2012
Rod Stephens on
Compare sorting algorithms in C#, article 1 of 5
7/6/2012
Harrington Newman on
Display images with file names stored in a database without data binding in C#
7/4/2012
Ben on
Compare sorting algorithms in C#, article 1 of 5
7/2/2012
uday on
Perform red-eye reduction on a picture in C#
7/2/2012
balu on
Remove characters that are not printable ASCII characters from a string in C#
6/29/2012
Rod Stephens on
Compare sorting algorithms in C#, article 1 of 5
6/24/2012
Blog Software