| Developers blog, .NET, C#, VB.NET, ATLAS, AJAX, WWF, ORM, LINQ, ARCHITECTURE and more by Frank Kroondijk | |
| ProfileFrank KroondijkSoftware developerSoftware architectBlog profile 
 Links
 Archives
 
 200 feeds | dinsdag, mei 02, 2006(.NET 2.) Dictionary(Of Key, Value) performance trick
			      In .NET 2.0 you'll have this new generic Hashtable variant called Dictionary MyClass toReturn = null; if(!_myDictionary.TryGetValue(key, out toReturn)){ toReturn = new MyClass();} ref: Frans Bouma (yep from the LLBGEN ORM) http://weblogs.asp.net/fbouma/archive/2006/05/02/444779.aspx |