all groups > visual studio .net general > july 2005 >
You're in the

visual studio .net general

group:

Template in C# VS2005



Re: Template in C# VS2005 Christoph Nahr
7/25/2005 12:00:00 AM
visual studio .net general: [quoted text, click to view]

Sounds like you're looking at the wrong namespace. System.Collections
still contains the old object-based collections for backwards
compatibility. The generic collections you're looking for are in
System.Collections.Generic, and the generic hashtable class is now
simply called Dictionary.
--
Re: Template in C# VS2005 Marty
7/25/2005 12:00:00 AM
Hi Christoph,

Thank you, I'll have a look to the Dictionary.

Regards,
Marty

[quoted text, click to view]
Template in C# VS2005 Marty
7/25/2005 12:06:56 PM
Hi,

I installed the beta release of VS.NET 2005. I created a C# project and
I was looking forward to have Hashtable that allow to have at least a
base type for key/value pair. But it seem to be objects as the input type.

Is it still objects? How could we set a specific type to avoid to cast
when we extract something from the hashtable?

Regards,
AddThis Social Bookmark Button