9,868,710 members (30,593 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
102 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Algorithms & Recipes
Bugs & Workarounds
Collections
Cryptography & Security
Date and Time
DLLs & Assemblies
Exception Handling
Game Development
Internet / Network
Localisation
Macros and Add-ins
Parallel Programming
Programming Tips
String handling
Threads, Processes & IPC
Tools and IDE
Ultrabooks
Uncategorised Quick Answers
Uncategorised Tips and Tricks
WinHelp / HTMLHelp
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 3
Page Size:
10
·
25
·
50
Category filtered by: General Programming
[x]
| Collections
[x]
Display or format lists/collections/arrays using simple LINQ-style extension methods.
by
Eric Lynch
Article
10 May 2013
license:
CPOL
This article provides and describes the EnumerableExt class, which simplifies the display and formatting of lists, collections, and arrays. It accomplishes this by implementing extension methods (Append, BuildString, and Write) that are available via the IEnumerable interface.
General Programming » Collections »
General
C#3.0
.NET3.5
C#
Windows
.NET
Dev
LINQ
Intermediate
C#
.NET
, +
Remove Duplicates from Rows/List/Column Values
by
senthilmsc04
Tip/Trick
4 May 2013
license:
CPOL
Code to avoid duplicates Rows/List/Column Values
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
The NameValueCollection quick example
by
George H. Slaterpryce III
Tip/Trick
23 Apr 2013
license:
CPOL
A quick example on how to use the NameValueCollection class
General Programming » Collections »
General
C#
Indexer - Index large collections by different keys on memory or disk
by
Paulo Zemek
Article
29 Mar 2013
license:
CPOL
This article presents a library that allows you to index large collections of objects by different keys in memory or disk and also explains how it was created.
General Programming » Collections »
General
C#
Architect
Dev
Intermediate
Advanced
C#
C#4.0
The List Trifecta, Part 1
by
Qwertie
Article
26 Mar 2013
license:
LGPL3
The A-list is an all-purpose list, a data structure that can support most standard list operation in O(log n) time and does lots of other stuff, too
General Programming » Collections »
General
C#3.0
C#
Windows
.NET
Architect
Dev
Beginner
Intermediate
Advanced
C#
, +
A Simple C# Property System
by
zaphoed
Article
31 Jan 2013
license:
CPOL
The following article demonstrates a C# implementation of a simple property system.
General Programming » Collections »
General
C#
.NETCF
Dev
Advanced
.NET
.NET4
Filtering a List in Java
by
Shubhashish_Mandal
Tip/Trick
29 Jan 2013
license:
CPOL
Filtering a List of custom instances
General Programming » Collections »
General
Java
Enhanced ObservableCollection with ability to delay or disable notifications
by
Eugene Sadovoi
Article
29 Jan 2013
license:
CPOL
Implements delayed or disabled INotifyCollectionChanged.
General Programming » Collections »
General
C#
.NETCF
.NET
Visual-Studio
Dev
Intermediate
Advanced
.NET
Silverlight
C#3.5
, +
Asynchronous Multi-threaded ObservableCollection
by
Eric Ouellet
Article
18 Jan 2013
license:
CPOL
An implementation of of a multi-threaded ObservableCollection.
General Programming » Collections »
General
C#
Windows
.NET
Dev
Intermediate
Collection accessors language feature
by
Adrian Alexander
Technical Blog
6 Dec 2012
license:
GPL3
Collection accessors language feature.
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
Quadrant Map
by
ohmusama
Article
31 Oct 2012
license:
CPOL
Tree representation for a 2D space allowing for infinite expansion
General Programming » Collections »
General
C#
.NET
Intermediate
C#
C#4.0
grid
Trees
Map
B-Tree Sorted Dictionary
by
Gerardo Recinto
Article
27 Aug 2012
license:
CPOL
In-memory B-Tree sorted dictionary.
General Programming » Collections »
General
C#2.0
C#3.0
.NET
Dev
Intermediate
C#
C#4.0
Sorting
Framework
collections
, +
Thread Safe Improvement for ObservableCollection
by
Clifford Nelson
Tip/Trick
2 Jul 2012
license:
CPOL
Why didn’t Microsoft provide this in the ObservableCollection?
General Programming » Collections »
General
C#
Dev
WPF
Intermediate
A Simple PList Parser in C#
by
paladin_t
Tip/Trick
19 Jun 2012
license:
CPOL
A simple plist parser within 100 lines of C# code.
General Programming » Collections »
General
C#
Parser
Plist
Balanced Binary Search Tree (BST) (Search, Delete, InOrder, PreOrder, PostOrder,DepthFirst, BreadthFirst, BalanceTree)
by
FatCatProgrammer
Article
9 Jun 2012
license:
CPOL
Balanced Binary Search Tree (BST) (Search, Delete, PrintInOrder, PrintPreOrder, PrintPostOrder,DepthFirst, BreadthFirst, BalanceTree)
General Programming » Collections »
General
C#1.0
C#2.0
C#3.0
C#
.NET
C#
C#4.0
Code Tune-Up: Shuffling a List
by
James Curran
Technical Blog
7 Jun 2012
license:
CPOL
How to shuffle a List.
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
CollectionRegex -- Regular Expressions for Collections
by
Jacek Gajek
Article
16 Apr 2012
license:
CPOL
Find patterns in a sequence of objects using a familiar language.
General Programming » Collections »
General
Dev
LINQ
Intermediate
.NET4
RegEx
Concurrent Observable Collection
by
Eugene Sadovoi
Tip/Trick
11 Apr 2012
license:
CPOL
Using ObservableCollection in a multi-threaded environment.
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
A quick & simple VBA FIFO Queue Implementation
by
BorysT
Tip/Trick
4 Apr 2012
license:
CPOL
This is an alternative for "A quick & simple VBA FIFO Queue Implementation"
General Programming » Collections »
General
VB
VBScript
VBA
BitArray indexed List
by
Pinx
Article
4 Apr 2012
license:
CPOL
List subclass for limited number of items and fast search.
General Programming » Collections »
General
.NET
Dev
Intermediate
collections
Define your own collection class that supports the Iterator pattern
by
Himanshu Manjarawala
Tip/Trick
2 Apr 2012
license:
CPOL
In this article we are discussing how to define Iterator classes for our own classes.
General Programming » Collections »
General
C#
.NET
Dev
Beginner
Custom Sort a List of Objects by Any Order
by
Frank_Zh
Article
14 Mar 2012
license:
CPOL
An IList Extension Method that sorts the list in any order or in a combination of orders.
General Programming » Collections »
General
.NET3.5
C#
.NET
Dev
Intermediate
.NET4
by
lampiclobe
Article
8 Mar 2012
license:
GPL3
A multi dimensional array class with the advance of negative indexes. Used like a[-2, -5, 3] with any dimensions.
General Programming » Collections »
General
C#
Dev
Advanced
Python
collections
Collections for WPF and NHibernate
by
Adrian Alexander
Technical Blog
10 Nov 2011
license:
CPOL
Collections for WPF and NHibernate
General Programming » Collections »
General
C#
Windows
.NET
AList – A C++ Associative Array
by
darkoman
Article
2 Nov 2011
license:
CPOL
An implementation of an assosiative array (a dictionary) in the standard C++ way.
General Programming » Collections »
General
C++
Dev
Intermediate
A Better Sorted List and Dictionary
by
Trent Tobler
Article
29 Oct 2011
license:
BSD
A memory based BTree ICollection and IDictionary implementation.
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
Sorting
Having fun with custom collections!
by
Naerling
Article
14 Oct 2011
license:
CPOL
Creating custom collections from IEnumerable(T) to IDictionary(T) and everything in between!
General Programming » Collections »
General
.NET
Dev
Beginner
Intermediate
Advanced
C#
VB
C#4.0
VB10
VB.NET
ForEach extension on IList
by
brad.ford@cudl.com
Tip/Trick
5 Oct 2011
license:
CPOL
Why limit it to IList, instead of IEnumerable?public static class ListExtension{// This is unnecessary as any collection that implement IList will also implement IEnumerable// public static void ForEach(this IList list, Action function)// {// foreach (T...
General Programming » Collections »
General
C#
ForEach extension on IList
by
kris444
Tip/Trick
2 Oct 2011
license:
CPOL
ForEach extension for the IList
General Programming » Collections »
General
C#
ForEach extension on IList
by
Doc Lobster
Tip/Trick
2 Oct 2011
license:
CPOL
Despite the existance of all that fancy lambda stuff, I would still write this the old-school way:var studentList = new List();foreach (var st in studentList) { if (st.Age == 0) st.AgeInMonths = DateTime.Now.Subtract(st.DOB).TotalDays / 30);} My "solution" needs ~160...
General Programming » Collections »
General
C#
ForEach extension on IList
by
Mohammad A Rahman
Tip/Trick
2 Oct 2011
license:
CPOL
The List class already has a method doing the same job as:public static void ForEach(this IList list, Action function)More about the ForEach method is available here. Here is the reflected ForEach method:public void ForEach(Action action){ if (action == null) { ...
General Programming » Collections »
General
C#
IIndexable: A read-only list interface
by
_groo_
Article
30 Sep 2011
license:
CDDL
An interface not present in .NET BCL, IIndexable exposes methods for iterating and indexing a read-only collection.
General Programming » Collections »
General
C#
.NET
Dev
Beginner
General
collections
Dependency properties and collections combined with XAML
by
mrjvdveen
Technical Blog
16 Aug 2011
license:
CPOL
Describes a problem with using a collection type in a dependency property where the default value can't be null.
General Programming » Collections »
General
C#
Windows
.NET
ForEach Method for the collections
by
Pranay Rana
Technical Blog
25 Jul 2011
license:
CPOL
In this small post I am going to discuss about the new method introduce in the .net framework ForEach which allow to perform the action on the each set of element.Syntax public void ForEach(Action action)Action is delegate or function to perform on each element of the List.To get in more detail how
General Programming » Collections »
General
C#
Windows
.NET
Priority Queue and Multi Value Sorted Dictionary in C#
by
Koder Hack
Technical Blog
26 Apr 2011
license:
CPOL
A priority queue to sort items according to a certain priority and retrieve the item with the highest priority.
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
Thread-safe Collections in .NET 4.0
by
corol1234
Article
16 Apr 2011
license:
CPOL
This article gives the reader a fair understanding of the .NET 4.0 concurrent collections.
General Programming » Collections »
General
.NET
Dev
Beginner
Intermediate
C#
C#4.0
Observing Changes to an Underlying Array
by
George Tryfonas
Article
28 Feb 2011
license:
CPOL
An ObservableCollection wrapper for an array which notifies the observer about changes to its underlying array
General Programming » Collections »
General
C#
Windows
.NET
Dev
Intermediate
collections
.NET4
multithreading
Generics
Concurrent Collections with .NET 4.0
by
Brij
Technical Blog
17 Jan 2011
license:
CPOL
Concurrent Collections with .NET 4.0
General Programming » Collections »
General
C#
Windows
.NET
.NET
.NET4
Immutable Array for .NET
by
Luigi Grilli
Article
27 Dec 2010
license:
BSD
Immutable array implementation for the .NET Framework.
General Programming » Collections »
General
C#
.NET
Dev
Intermediate
Bi-Directional SkipList in C#
by
David Jeske
Article
20 Dec 2010
license:
CPOL
A C# sorted map which can be efficiently subset scanned in both directions
General Programming » Collections »
General
C#
.NET
Architect
Dev
Beginner
Intermediate
Advanced
Threading
Sorting
Bidirection
, +
FirstOrDefault Extension Method the Way I Expect It to Work
by
Jeremy Hutchinson
Article
8 Nov 2010
license:
CPOL
Creating a FirstOrDefault Extension Method that takes the default value as a parameter
General Programming » Collections »
General
C#
.NET
Dev
Beginner
Extension
Order in Chaos: .NET Collections
by
Arik Poznanski
Technical Blog
8 Oct 2010
license:
Ms-PL
Review of the current available collection types in .NET Framework 4.0
General Programming » Collections »
General
C#
Windows
.NET
Hot Swap Thread Safe Collections
by
Deyan Timnev
Article
12 Jul 2010
license:
LGPL3
An introduction to using the hot-swap technique to build thread safe collection and thread safe source code in general.
General Programming » Collections »
General
C#1.0
C#2.0
C#3.0
C#
.NET
C#
A quick & simple VBA HashTable Implementation
by
Stefan0410
Tip/Trick
8 Jul 2010
license:
CPOL
VBA Hashtable Visual Basic Hash
General Programming » Collections »
General
VB
VBScript
VBA
A quick & simple VBA LIFO Stack Implementation with PUSH und POP
by
Stefan0410
Tip/Trick
8 Jul 2010
license:
CPOL
VBA Hashtable Visual Basic Stack LIFO
General Programming » Collections »
General
VB
VBScript
VBA
A quick & simple VBA FIFO Queue Implementation
by
Stefan0410
Tip/Trick
8 Jul 2010
license:
CPOL
VBA Hashtable Visual Basic Queue FIFO
General Programming » Collections »
General
VB
VBScript
VBA
Observable Collections
by
Steve Wellens
Technical Blog
3 Jun 2010
license:
CPOL
A small test program to illustrate how the ObservableCollection works, with special notes on using it in Asp.Net.
General Programming » Collections »
General
C#
ASP.NET
.NET
Changing values in a Dictionary class
by
Gordon Kushner
Tip/Trick
6 May 2010
license:
CPOL
If you try to enumerate through a Dictionary's key collection and attempt to change the values as in the code below, Dictionary _items = new Dictionary();...int i = 0;//Attempt to set the values for this Dictionary item.foreach (string key in...
General Programming » Collections »
General
.NET
collections
Non-Repeatable Collections
by
Ant2100
Tip/Trick
4 Apr 2010
license:
CPOL
Download source - 30 KBDownload library - 5 KBIntroductionThis set of Non-Repeatable Collections has a very simple concept - to only allow one item of each type to be added, meaning that you cannot have duplicate items in the collection.BackgroundAlthough the .NET Framework...
General Programming » Collections »
General
VB9.0
.NET3.5
Visual-Studio
Dev
VB
.NET
VB.NET
Non-Repeatable Collections
by
Eugene Sichkar
Tip/Trick
4 Apr 2010
license:
CPOL
Actually .net 3.5 have non-repeatable collection class - HashSet class and ISet interface.
General Programming » Collections »
General
VB9.0
.NET3.5
Visual-Studio
Dev
VB
.NET
VB.NET
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid