473,386 Members | 1,733 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,386 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 3599

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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.