Archive

Posts Tagged ‘dictionary’

Using Associative Array In C# .NET

March 25th, 2009 admin No comments

Associative array is very useful due to its flexibility and expandability. It can contain any data types and unlimited sub arrays. So far, .NET framework has not provide similar functionality with PHP associative array. Don’t worry, we can still do it in C# .NET by utilizing dictionary. We have to use dictionary to keep the order of array element entry. If we use hashtable, the element order will be messed up. In this article, we will show you how dictionary can support the flexibility and expandability of PHP associative array.

Click here to read the complete post

If you like this code/script, perhaps you would kindly treat me a drink. Any number is welcome. Thanks :)