CSharpFeeds - All your C# feeds in one place.

Tuesday, May 02, 2006

(.NET 2.) Dictionary(Of Key, Value) performance trick

by FransBouma via Frans Bouma's blog on 5/2/2006 2:52:00 PM

(I used the VB.NET notation in the title so it won't nag about illegal characters like < and >) In .NET 2.0 you'll have this new generic Hashtable variant called Dictionary<TKey, TValue>. It can be used as a Hashtable but now strongly typed and it doesn't use boxing anymore with value types. That's great and all, though there's one thing that's different from the hashtable: retrieving a value with a key that's not there. If the key value isn't present in the Dictionary, you'll get a ...

[ read more ]

Nullable Types in C#: Basic Introduction

by Prashant Patil via on 5/2/2006 12:00:00 AM

This article gives a quick view in to the problems faced with the value type objects and the solution to the problems. This beautiful facility is introduced by Microsoft as an concept called “Nullable Types” in the C# 2.0. ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us