Skip to content

Where to store huge number of strings

Utkarsh

Asked Dec 28, 2005, 8:54 AM EST1 answer
Share
LinkedInX
Hi,


I want to store some thousand (1000+) strings to use them in my program. I dont want to use database. What are the options available for me?
1. Resource files
2. Array
3. Hash tables
4. XML file
5. Any other
Plase let me know.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0
    You can use Array and Hashtables when strings are only in memory. But if you are planning to store them in a persistend way, you will end up choosing text files, binary, or XML formats. XML seems better which allow you to load, parse and do other string manipulations in easier ways than others.
    0