473,233 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

CollectionBase and DictionaryBase in vs 2005

Hi,

Does anyone know a good example that demonstrates the working of
CollectionsBase and DictionaryBase in vs 2005?

THanks

Vivek
Dec 21 '05 #1
4 3596

There are in a Book "Professional .NET 2.0 Generics" by Wrox publications. I
this because on reading this it seems like a very good idea to undersatnd
CollectionBase and DictionaryBase with Generics in mind. It would be better
to read this as there's not too much reading but you'll see how much better
CollectionBase and DictionayBase are due to Generics.

Or even a book with similar content. Professional C# 2005 by Wrox
publication also gets into it.

- SpotNet
"Vivek Sharma" <vi********@hotmail.com> wrote in message
news:eM**************@TK2MSFTNGP12.phx.gbl...
: Hi,
:
: Does anyone know a good example that demonstrates the working of
: CollectionsBase and DictionaryBase in vs 2005?
:
: THanks
:
: Vivek
:
:
Dec 21 '05 #2
SpotNet,

Why would you want to use CollectionBase and DictionaryBase in .NET 2.0?
Unless you had some special processing that needs to occur on
add/remove/retreival, you should just use List<T> and Dictionary<K,V>.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"SpotNet" <Sp*****@msnews.grp> wrote in message
news:ue*************@tk2msftngp13.phx.gbl...

There are in a Book "Professional .NET 2.0 Generics" by Wrox publications.
I
this because on reading this it seems like a very good idea to undersatnd
CollectionBase and DictionaryBase with Generics in mind. It would be
better
to read this as there's not too much reading but you'll see how much
better
CollectionBase and DictionayBase are due to Generics.

Or even a book with similar content. Professional C# 2005 by Wrox
publication also gets into it.

- SpotNet
"Vivek Sharma" <vi********@hotmail.com> wrote in message
news:eM**************@TK2MSFTNGP12.phx.gbl...
: Hi,
:
: Does anyone know a good example that demonstrates the working of
: CollectionsBase and DictionaryBase in vs 2005?
:
: THanks
:
: Vivek
:
:

Dec 21 '05 #3
Is there any example somewhere that demonstrates the working of List<T> or
Dictionary<K,V>

Thanks
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:en**************@TK2MSFTNGP10.phx.gbl...
SpotNet,

Why would you want to use CollectionBase and DictionaryBase in .NET
2.0? Unless you had some special processing that needs to occur on
add/remove/retreival, you should just use List<T> and Dictionary<K,V>.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"SpotNet" <Sp*****@msnews.grp> wrote in message
news:ue*************@tk2msftngp13.phx.gbl...

There are in a Book "Professional .NET 2.0 Generics" by Wrox
publications. I
this because on reading this it seems like a very good idea to undersatnd
CollectionBase and DictionaryBase with Generics in mind. It would be
better
to read this as there's not too much reading but you'll see how much
better
CollectionBase and DictionayBase are due to Generics.

Or even a book with similar content. Professional C# 2005 by Wrox
publication also gets into it.

- SpotNet
"Vivek Sharma" <vi********@hotmail.com> wrote in message
news:eM**************@TK2MSFTNGP12.phx.gbl...
: Hi,
:
: Does anyone know a good example that demonstrates the working of
: CollectionsBase and DictionaryBase in vs 2005?
:
: THanks
:
: Vivek
:
:


Dec 21 '05 #4

Yes Nicholas, just when reading (and learnig) .NET 2.0 Generics, it comes to
the explaination and dynamics of List<T> and Dictionary<K,V> after a quick
explaination of CollectionBase and DictionaryBase, and why the use of these
base classes would not necessarily depreciate, but becaome less frequent in
their implementation\usage and, demonstrates why and how their
implementation is relevent to less specific cases.

Just a bit exctied about it all Nicholas, it's all too good. Take good care
and Merry Christamas.

- SpotNet

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:en**************@TK2MSFTNGP10.phx.gbl...
: SpotNet,
:
: Why would you want to use CollectionBase and DictionaryBase in .NET
2.0?
: Unless you had some special processing that needs to occur on
: add/remove/retreival, you should just use List<T> and Dictionary<K,V>.
:
: Hope this helps.
:
:
: --
: - Nicholas Paldino [.NET/C# MVP]
: - mv*@spam.guard.caspershouse.com
:
: "SpotNet" <Sp*****@msnews.grp> wrote in message
: news:ue*************@tk2msftngp13.phx.gbl...
: >
: > There are in a Book "Professional .NET 2.0 Generics" by Wrox
publications.
: > I
: > this because on reading this it seems like a very good idea to
undersatnd
: > CollectionBase and DictionaryBase with Generics in mind. It would be
: > better
: > to read this as there's not too much reading but you'll see how much
: > better
: > CollectionBase and DictionayBase are due to Generics.
: >
: > Or even a book with similar content. Professional C# 2005 by Wrox
: > publication also gets into it.
: >
: > - SpotNet
: >
: >
: > "Vivek Sharma" <vi********@hotmail.com> wrote in message
: > news:eM**************@TK2MSFTNGP12.phx.gbl...
: > : Hi,
: > :
: > : Does anyone know a good example that demonstrates the working of
: > : CollectionsBase and DictionaryBase in vs 2005?
: > :
: > : THanks
: > :
: > : Vivek
: > :
: > :
: >
: >
:
:
Dec 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: rein.petersen | last post by:
Hi All, Some of you may have encountered complications when trying to serialize an object derived from CollectionBase (implementing ICollection or IEnumerable). Specifically, the...
5
by: Eric Johannsen | last post by:
I have a simple object that inherits from CollectionBase and overrides the Count property: namespace MyTest { public class CollTest : System.Collections.CollectionBase { public override int...
4
by: Michael Maercker | last post by:
hi! i'm wondering what the differences are between hashtables und dictionarybases; can both of them store several different types of objects, each accessible by a string key? currently i'm using a...
2
by: Shayne H | last post by:
I wanted to create a type-safe collection by inheriting from CollectionBase. Public Class MyCollection : Inherits CollectionBase I found that IList.Add did not allow the setting of a "key" to...
5
by: Johan Karlsson | last post by:
Hi! When using the Add method of a class inherited from collectionBase, you get an indexnumber returned that represents the position of newly inserted object into the collection. Is this number...
4
by: Kejpa | last post by:
Hi, I've begun trying out the .NET2005 beta and one thing that I was thrilled about in advance was the CollectionBase class. No more selfmade Collection classes I thought. But now I'm puzzled, I...
2
by: Samuel R. Neff | last post by:
What's the advantage of inheriting from CollectionBase as opposed to just implementing IList? It seems that it saves you from having to implement a few properties (Clear, CopyTo, Count,...
3
by: myPosts | last post by:
Hi all, I am having class which is derived from collectionbase class. I am adding some string elements to this collection. What i want is to add support of hashing into class which i have...
1
by: parez | last post by:
Hi all, I want to use DictionaryBase as base class. The search performace matters lot. I have used a hashtable in a similar situation. This class DictionaryBase has a innerhash table so i...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.