Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Webservice Deployment Pin
Victor Boctor28-Jan-04 10:10
Victor Boctor28-Jan-04 10:10 
GeneralRe: C# Webservice Deployment Pin
Mazdak28-Jan-04 10:44
Mazdak28-Jan-04 10:44 
GeneralRe: C# Webservice Deployment Pin
Victor Boctor28-Jan-04 12:17
Victor Boctor28-Jan-04 12:17 
GeneralUsage of lookup tables Pin
feicki27-Jan-04 23:56
feicki27-Jan-04 23:56 
GeneralRe: Usage of lookup tables Pin
Mazdak28-Jan-04 0:28
Mazdak28-Jan-04 0:28 
GeneralRe: Usage of lookup tables Pin
feicki28-Jan-04 0:57
feicki28-Jan-04 0:57 
GeneralRe: Usage of lookup tables Pin
Mazdak28-Jan-04 2:56
Mazdak28-Jan-04 2:56 
GeneralRe: Usage of lookup tables Pin
Heath Stewart28-Jan-04 6:21
protectorHeath Stewart28-Jan-04 6:21 
Besides maintaining an instance of a DataSet (which can be easily serialized to and deserialized from XML) and using Find, you can also use an IDictionary implementation like the Hashtable. This won't, however, allows you to find similar but different names without extending the Hashtable greatly.

Otherwise, you can always build your own database-like implementation with lists, collections, and the sort. To find similar names you'll offen experience O(n) operations unless you use something like a character-based or word-fragment-based B-tree.

Another option is to go with an in-memory database that exhibits the ACID properties (although it goes about transaction processing differently) known as Bamboo Prevalence (a .NET version of Prevayler, which is a Java implementation). See http://bbooprevalence.sourceforge.net/[^] for more information, or Object Prevalence with Bamboo Prevalence[^] for an article about it here on CodeProject.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
General.NET Remoting Question Pin
andreas_aus_hamburg27-Jan-04 23:48
andreas_aus_hamburg27-Jan-04 23:48 
GeneralRe: .NET Remoting Question Pin
msdnexpert28-Jan-04 5:45
msdnexpert28-Jan-04 5:45 
GeneralRe: .NET Remoting Question Pin
andreas_aus_hamburg28-Jan-04 11:30
andreas_aus_hamburg28-Jan-04 11:30 
GeneralWebService question Pin
Mazdak27-Jan-04 23:35
Mazdak27-Jan-04 23:35 
GeneralRe: WebService question Pin
Heath Stewart28-Jan-04 6:05
protectorHeath Stewart28-Jan-04 6:05 
GeneralRe: WebService question Pin
Mazdak28-Jan-04 7:26
Mazdak28-Jan-04 7:26 
GeneralC# modem and mp3 Pin
devvvy27-Jan-04 19:58
devvvy27-Jan-04 19:58 
GeneralRe: C# modem and mp3 Pin
Michael P Butler28-Jan-04 3:37
Michael P Butler28-Jan-04 3:37 
GeneralGeorge Shepherd's Windows Forms FAQ Pin
Shree27-Jan-04 18:11
Shree27-Jan-04 18:11 
GeneralNetwork Programming in C# Pin
ASGill27-Jan-04 16:23
ASGill27-Jan-04 16:23 
GeneralRe: Network Programming in C# Pin
Heath Stewart27-Jan-04 18:29
protectorHeath Stewart27-Jan-04 18:29 
GeneralRe: Network Programming in C# Pin
ASGill27-Jan-04 23:02
ASGill27-Jan-04 23:02 
GeneralMaking my class support [] notation Pin
Christian Graus27-Jan-04 15:34
protectorChristian Graus27-Jan-04 15:34 
GeneralRe: Making my class support [] notation Pin
Nick Parker27-Jan-04 16:04
protectorNick Parker27-Jan-04 16:04 
GeneralRe: Making my class support [] notation Pin
Christian Graus27-Jan-04 16:13
protectorChristian Graus27-Jan-04 16:13 
GeneralLockdown PC Pin
johnstacey27-Jan-04 14:51
johnstacey27-Jan-04 14:51 
GeneralRe: Lockdown PC Pin
Christian Graus27-Jan-04 15:32
protectorChristian Graus27-Jan-04 15:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.