Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > .NET Namespaces > System > System Namespaces > Collections
Search:
What's New - What's Hot
More Categories for Collections Classes Collections Classes (54)
More Categories for Collections.Namespaces Collections.Namespaces (11)


Collections Best Practices     
Total Hits: 54  |  Today: 0Author: Inbar Gazit      Rating:  
Read Reviews | Write Review |  Your Rating: 

Most introductory textbooks on computer science and programming include a chapter about collections. They may be called arrays or data structures, but the concept remains the same. The ability to tie a set of elements to one another in a formal data object is essential to modern programming techniques.
In the Microsoft® .NET Framework, a lot of effort went into creating collection classes that are powerful and that address a variety of needs and styles....

Exploring Non-Generic Collections     
Total Hits: 282  |  Today: 0Author: Michael G      Rating:  
Read Reviews | Write Review |  Your Rating: 

IEnumerable: This is a base System.Collection namespace interface. It enables foreach iterations over an underlying collection of objects. To be able to use foreach against a collection in a class or struct, that class or struct must implement the IEnumerable interface. The IEnumerable interface requires that you implement just one method: GetEnumerator(). GetEnumerator() returns an object that implements the IEnumerator interface (discussed below)....

IEnumerable Interface     
Total Hits: 81  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

IEnumerable must be implemented to support the ForEach semantics of Microsoft Visual Basic. COM classes that allow enumerators also implement this interface....

IDictionaryEnumerator Interface     
Total Hits: 68  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection....

IDictionary Interface     
Total Hits: 79  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The IDictionary class is the base interface for collections of key-and-value pairs.Each element is a key-and-value pair stored in a DictionaryEntry object.Each association must have a unique key that is not a null reference (Nothing in Visual Basic), but the value of an association can be any object reference, including a null reference. The IDictionary interface allows the contained keys and values to be enumerated, but it does not imply any particular sort order....

IComparer Interface     
Total Hits: 46  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

This interface is used in conjunction with the Array.Sort and Array.BinarySearch methods. It provides a way to customize the sort order of a collection....

ICollection Interface     
Total Hits: 66  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The ICollection interface is the base interface for classes in the System.Collections namespace....

Hashtable Class     
Total Hits: 145  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

Each element is a key-and-value pair stored in a DictionaryEntry object.The objects used as keys in a Hashtable must implement or inherit the Object.GetHashCode and Object.Equals methods. If key equality were simply reference equality, the inherited implementation of these methods would suffice. Furthermore, these methods must produce the same results when called with the same parameters while the key exists in the Hashtable. Key objects must be immutable as long as they are used as keys in the ...

DictionaryEntry Structure     
Total Hits: 44  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The IDictionaryEnumerator.Entry method returns an instance of this class.The foreach statement of the C# language (for each in Visual Basic) requires the type of each element in the collection. Since each element of a collection based on IDictionary is a key-and-value pair, the element type is not the type of the key or the type of the value. Instead, the element type is DictionaryEntry....

DictionaryBase Class     
Total Hits: 82  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

Each element is a key-and-value pair stored in a DictionaryEntry object.[C#] The foreach statement of the C# language requires the type of each element in the collection. Since each element of the DictionaryBase is a key-and-value pair, the element type is not the type of the key or the type of the value. Instead, the element type is DictionaryEntry....

Comparer Class     
Total Hits: 36  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

This class is the default implementation of the IComparer interface. The CaseInsensitiveComparer class is the implementation of the IComparer interface that performs case-insensitive string comparisons....

CollectionBase Class     
Total Hits: 73  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

A CollectionBase instance is always modifiable. See ReadOnlyCollectionBase for a read-only version of this class....

CaseInsensitiveHashCodeProvider Class     
Total Hits: 37  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

CaseInsensitiveHashCodeProvider implements the IHashCodeProvider interface supporting case-insensitive comparisons on strings, just as CaseInsensitiveComparer implements the IComparer interface supporting case-insensitive comparisons on strings....

CaseInsensitiveComparer Class     
Total Hits: 52  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

CaseInsensitiveComparer implements the IComparer interface supporting case-insensitive comparisons on strings, just as CaseInsensitiveHashCodeProvider implements the IHashCodeProvider interface supporting case-insensitive comparisons on strings....

BitArray Class     
Total Hits: 58  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The size of a BitArray is controlled by the client; indexing past the end of the BitArray throws an ArgumentException....

ArrayList Class     
Total Hits: 170  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The capacity of an ArrayList is the number of elements the list can hold. As elements are added to an ArrayList, the capacity is automatically increased as required through reallocation. The capacity can be decreased by calling TrimToSize or by setting the Capacity property explicitly....

INFO: SSAFE: Renames and Deletions Not Supported for Source Code Control Through the Visual Studio .NET IDE     
Total Hits: 73  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The somewhat surprising answer is not much. The only real difference is that a Console application sends output to a Console Window, and a Windows Form application doesn't. However, this is only the default behavior. There's no reason a Windows Forms application can't have a console window....

A Portal for My Data     
Total Hits: 142  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

With it comes to retrieving data in an n-tier application. We often design our systems in a way that forces us to figure out a different way to get each type of data, calling a different service, object, or method each time. To get customer data, we call the GetCustomer method of the CustomerService. To get product data, we call the Product method of a WebProduct service. This can get confusing!...

An Interface-based Approach to .NET     
Total Hits: 106  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Framework class libraries provide you with a huge number of classes—and a steep learning curve! The key to effectively leveraging the integration of these classes, and flattening that learning curve, is interfaces....

A Data Access Layer to persist business objects using attributes and reflection - Part I      
Total Hits: 1506  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

A simple class (DALQueryBuilder, see source code in the last article) that would make me type less code to update an object....



Disclaimer - Privacy
© 2002-2012 DevASP.net