(Joe Kunk) Iterators in both C# and Visual Basic provide a simple mechanism to asynchronously consume the elements of a collection as they become available, rather than wait for the collection to be fully formed and then processed. Iterators provide a very easy-to-code method to improve application
Tag: Development
Using the Simplest Type Name in a Snippet
Code snippets are used to insert commonly-used fragments into source code files. When those snippets include type names the inserted name must be fully qualified or relative to a using directive. This can be automated with the SimpleTypeName function.
Represent Behavior with Classes not Flags
(Steven Smith) When designing your software systems, favor the use of classes to model behavior within the system over the overuse of flags in your data model. The resulting design will be more flexible, less tightly coupled, and easier to maintain.
DataBinding with a ComboBox in FSharp
(Alok Pandey) We create a DataBase for getting records into a ComboBox. Here, in this example, the DataBase name is student_record, table name is student and Columns are Roll_No and Name. I have written code below for creating this database.
Selection Revisited
(Jim Mischel) In Selecting the Top N Items from a Group, I showed how to use a binary heap to efficiently identify the N largest items from a large collection. Using a binary heap is much faster than the naive method, but it’s not the only way to do it and not necessarily the fastest, either.
Using Team Foundation Server 2010 Version Control for a Java Project
(Subodh Sohoni) In this article I am going to walk you through the entire process of how to use TFS 2010 for version control of a typical Java project. I will use Team Explorer Everywhere 2010 that is a plug-in to Eclipse and facilitates access to TFS 2010. It can be downloaded from here.
Using java.util.Collections To Shuffle A ColdFusion Query Column Corrupts Column Values
(Ben Nadel) The other day, I wanted to see if I could use the java.util.Collections class to help shuffle the values in a ColdFusion query. As I’ve blogged about before, the Collections class presents a shuffle() method which can be used to randomly sort Java collections (ie. ColdFusion arrays).
How to paginate records in DetailsView?
(SheoNarayan) To show the complete details about the record with pagination so that user would be able to navigate between the records, we can DetailsView. In this article we are going to learn how to use DetailsView control.
Debugging Tools for the .NET Developer
(Peter Vogel) Bugs occur at two stages in a code’s life: during development and in production. Development bugs are usually easier to track down because, generally speaking, those bugs are related to code you’ve written recently (probably in the last hour).
A Generic Circular Buffer
A circular buffer is a type of fixed size, first in, first out queue. The spaces in the buffer can be thought of as connected in a ring. Items in the buffer are never moved. Instead, changeable pointers are used to identify the head and tail of the queue.
