Tag: dictionary

Articles and experiments related to dictionary.

IDataRecord Fields to Dictionary Extension Method

This post introduces a C# 3.0 extension method for converting IDataRecord fields into a Dictionary<string, object>. This simplifies access to field data, particularly useful in scenarios like passing data to a Workflow instance. While convenient, it's important to note that direct IDataRecord access offers better performance for frequent data retrieval.

Read article

Associative Array C# .Net

A quick explanation of associative arrays in C# .NET, clarifying that they are simply hash tables. A basic code example demonstrates adding and retrieving a key-value pair.

Read article

Stay in the loop.

I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.

alternate_email

Get in touch

Open to chat about Chrome or Web development.

Book a consultation