Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Store string list

Store string list

Scheduled Pinned Locked Moved ASP.NET
question
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    byka
    wrote on last edited by
    #1

    what is the best way to store string list (80 items)? it looks like this: 1 One 2 Two 3 Three ....

    Z M P 3 Replies Last reply
    0
    • B byka

      what is the best way to store string list (80 items)? it looks like this: 1 One 2 Two 3 Three ....

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      Store for what use? in db? in memory? in file? What are you doing with it?

      There are only 10 types of people in the world, those who understand binary and those who don't.

      1 Reply Last reply
      0
      • B byka

        what is the best way to store string list (80 items)? it looks like this: 1 One 2 Two 3 Three ....

        M Offline
        M Offline
        Manfred Rudolf Bihy
        wrote on last edited by
        #3

        To me the best way to store a list of strings a List<String>. Simples really! Cheers!

        "I had the right to remain silent, but I didn't have the ability!"

        Ron White, Comedian

        1 Reply Last reply
        0
        • B byka

          what is the best way to store string list (80 items)? it looks like this: 1 One 2 Two 3 Three ....

          P Offline
          P Offline
          poongunrans
          wrote on last edited by
          #4

          use String builder . it's best one store to string and then compare to string is very fast.. Another one - List slist = new List();

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups