“The ASP.NET Resource Kit is an essential resource for any web developer whether you are already using ASP.NET today, or looking to learn ASP.NET. “
Page 27 of 34
Scott Mitchell / 4GuysFromRolla.com: “This article, the fourth in the series, begins with a quick examination of AVL trees and red-black trees, which are two different self-balancing, binary search tree data structures. The remainder of the article examines the skip list data structure, an ingenious data structure that turns a linked list into a data structure that offers the same running time as the more complex self-balancing tree data structures. (31 printed pages)”
“It all started innocently enough. I found myself needing to calculate the area of a circle for the first time in .NET. This called, of course, for an accurate representation of pi. System.Math.PI is handy, but since it only provides 20 digits of precision, I was worried about the accuracy of my calculation (I really needed 21 digits to be absolutely comfortable). So, like any programmer worth their salt, I forgot about the problem I was actually trying to solve and I wrote myself a program to calculate pi to any number of digits that I felt like. “
This is the start of an excellent article series describing how to handle multithreading in windows forms. It’s in three parts:
- How to perform long-running operations while still showing progress and keeping the UI responsive to user interaction
- How to leverage multiple threads to split the user interface (UI) from a long-running operation while communicating further user input to the worker thread to adjust its behavior
- How to more cleanly communicate between a UI thread and a worker thread, and how to call Web services asynchronously in a Windows Forms application
Here’s an excellent article showing how to utilize the
String.Format() to the max.
Example taken from the article:
This will output “$1,240.00” if passed 1243.50. It will output the same format but in parentheses if the number is negative, and will output the string “Zero” if the number is zero.