BLOG.CSHARPHELPER.COM: Tag Archive for example program

Use the conditional (ternary) ?: operator in C#

Declare and initialize empty arrays in C#

Update ComboBox choices when the user enters a new choice in C#

Display a continuously updating graph of stock prices taken from the internet in C#

Use a simple sprite class to animate several bouncing balls in C#

Animate several bouncing balls in C#

Compare two images to find differences in C#

Use a loop to load pictures into PictureBoxes in C#

Make a kaleidoscope program in C#

Pixelate areas on an image in C#

Make a map that shows a circular closeup of the part under the mouse in C#

Use WMI to get lots of information about the operating system in C#

Move files and directories into the recycle bin (wastebasket), see how many items are in the recycle bin, and empty the recycle bin in C#

Make a scribble application that lets the user zoom in or out on the picture in C#

Let the user zoom and scroll a picture drawn by the program in C#

Plot a simple heart-shaped function in C#

Make a web page containing a table of thumbnails to display the images in a directory in C#

Make thumbnails and a web page to display the images in a directory in C#

Search for files that match multiple patterns in C#

Find Egyptian fractions in C#

Make a Fraction class in C#

Use a label setting algorithm to find shortest paths through a network in C#

Make and use an array of controls in C#

Get and set file creation, modification, and access times in C#

Prevent Visual Studio from running old versions of a program with syntax errors

Make a Visual Studio toolbar button that opens a web site or sends email

Add a tool to Visual Studio that opens a web site or sends email

Display line numbers in the Visual Studio code editor

Rotate a drawing around a point other than the origin in C#

Make an infinitely cascading series of menu items in C#

Create menu items at run time with images, shortcut keys, and event handlers in C#

Initialize an array of integers with a range of values or a repeated value in C#

Let the user draw rubber band ellipses (or other shapes) in C#

Let the user move the center point of elliptical gradient in C#

Fill an area with an elliptical gradient in C#

Use the "is" operator to see if an object can be converted into another type in C#

Make a countdown timer that displays the number of days, minutes, hours, and seconds until an event in C#

Set tab stops in a RichTextBox control in C#

Format pieces of text in a RichTextBox in C#

Make a BoundsArray class that lets you easily make arrays with non-zero lower bounds in C#

Make a default indexer property for a class in C#

Make arrays with non-zero lower bounds in C#

Use Array.Copy to copy arrays quickly in C#

Draw a variety of fractal strange attractors in C#

Draw "stars" inside polygons in C#

Make a label's font as big as possible while still allowing its text to fit in C#

Use XML serialization to save and restore pictures drawn by the user in C#

Display an end user license agreement the first time the user runs a program in C#

Easily remove all non-digit or non-letter characters from a string in C#

Make an enhanced scribble application that lets the user draw in different colors, line thicknesses, and line styles in C#

Let the user draw curves and scribble on a PictureBox in C#

Use steganography to hide encrypted messages in an image in C#

Make a Set class that inherits from HashSet and that support operators such as union and intersection in C#

Use the HashSet class to represent sets and perform set operations in C#

Draw text with each character in a random color in C#

Use MeasureCharacterRanges to see where the parts of a string will be drawn in C#

Make a bouncing ball animation in C#

Play an audio resource in C#

Challenge: Write a program that can display its own code in C#

Drag and drop to move or copy text while providing feedback in C#

Drag and drop images in C#

Drag and drop text in C#

Find the number of years, months, days, hours, minutes, and seconds between two dates in C#

Use a TimeSpan to find the number of days, hours, minutes, or seconds between two dates in C#

Use TryParse to parse values entered by the user in C#

Fill a polygon with a PathGradientBrush in C#

Find a least squares Weibull curve fit for a set of points in C#

Find an exponential least squares fit for a set of points in C#

Handle mouse events for a generic TreeNode class in C#

Make a generic TreeNode class that can draw a tree of just about anything in C#, Part 2

Make a generic TreeNode class that can draw a tree of just about anything in C#, Part 1

Make a generic priority queue class in C#

Draw lines with custom dash patterns in C#

Find a smallest enclosing rectangle for a polygon in C#

Draw dashed lines with different dash cap styles in C#

Draw dashed lines with various dash styles in C#

Make a macro in the Visual Studio IDE that lets you easily insert standard comments into your code

Use branch and bound with an initial heuristic to solve the partitioning problem in C#

Solve the partitioning problem by using an exhaustive search in C#

Use branch and bound to solve the partitioning problem more quickly than an exhaustive search in C#

Run a DOS application and capture its output in C#

Find a polynomial least squares fit for a set of points in C#

Find a linear least squares fit for a set of points in C#

Make CAPTCHA images with overlapping characters in C#

Make CAPTCHA images with warped and rotated characters in C#

Use FTP to get a file's size and last modification time on an FTP server in C#

Make a menu and menu items at run time for a WPF application in C#

Use FTP to upload a file to an FTP server in C#

Use FTP to upload text into a file on an FTP server in C#

Convert between long and short file names in C#

Make an owner drawn tooltip that displays a picture in C#

Get stock prices from the internet in C#

Change a localized program's locale at runtime to test it in multiple languages and locales in C#

Test a localized program that works in multiple languages and locales in C#

Localize a program's user interface to work in multiple languages and locales in C#

Draw a vortex fractal with smoothly shaded colors in C#

Draw a Mandelbrot set with smoothly shaded colors in C#

Pick N random items from an array of M items in C#

Select a random object from an array or other collection in C#

See if a number is expressible as a sum of two cubes (and calculate Taxicab numbers) in C#

Calendar

February 2011
SuMoTuWeThFrSa
12345
6789101112
13141516171819
20212223242526
2728

Subscribe


Blog Software
Blog Software