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. General Programming
  3. C#
  4. Recommendations for container and algorithm library.

Recommendations for container and algorithm library.

Scheduled Pinned Locked Moved C#
csharpdotnetdockeralgorithmsquestion
7 Posts 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hello, I want to use containers that are feature rich and have corresponding iterators that can modify the object on the fly. Also, I would like to have at my disposal a set of common algorithms that I can use with the containers/iterators. I was wondering if there is anything like that out there besides the .NET Framework Collections that I can use. Can anyone recommend any library that is available? Thanks.

    C F 2 Replies Last reply
    0
    • L Lost User

      Hello, I want to use containers that are feature rich and have corresponding iterators that can modify the object on the fly. Also, I would like to have at my disposal a set of common algorithms that I can use with the containers/iterators. I was wondering if there is anything like that out there besides the .NET Framework Collections that I can use. Can anyone recommend any library that is available? Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Is this a troll ? You're describing the STL, and it's not available in C#. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002 Remember that amateurs built the ark. Professionals built the Titanic.

      L 1 Reply Last reply
      0
      • L Lost User

        Hello, I want to use containers that are feature rich and have corresponding iterators that can modify the object on the fly. Also, I would like to have at my disposal a set of common algorithms that I can use with the containers/iterators. I was wondering if there is anything like that out there besides the .NET Framework Collections that I can use. Can anyone recommend any library that is available? Thanks.

        F Offline
        F Offline
        Feng Qin
        wrote on last edited by
        #3

        Doesn't ArrayList or other collection class meet your requirement? I'm amumu, and you?

        L 1 Reply Last reply
        0
        • C Christian Graus

          Is this a troll ? You're describing the STL, and it's not available in C#. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002 Remember that amateurs built the ark. Professionals built the Titanic.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You are right that something like STL is not available in the .NET Framework, and that is why I posted a simple question here to find an alternative. I need something to do dynamic data processing, and the Collections API does not cut it.

          1 Reply Last reply
          0
          • F Feng Qin

            Doesn't ArrayList or other collection class meet your requirement? I'm amumu, and you?

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            As a collection, I can get by with ArrayList, but I also need to utilize varies algorithms dynamically to operate on the values in the ArrayList. Is there a way to do this with .NET besides writing my own, or is there a library available that I can use?

            C F 2 Replies Last reply
            0
            • L Lost User

              As a collection, I can get by with ArrayList, but I also need to utilize varies algorithms dynamically to operate on the values in the ArrayList. Is there a way to do this with .NET besides writing my own, or is there a library available that I can use?

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              I believe you CAN specify sorting algorithms for ArrayList ( what a dumb name - is it an array, or a list ? ), but beyond that, you're on your own. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

              1 Reply Last reply
              0
              • L Lost User

                As a collection, I can get by with ArrayList, but I also need to utilize varies algorithms dynamically to operate on the values in the ArrayList. Is there a way to do this with .NET besides writing my own, or is there a library available that I can use?

                F Offline
                F Offline
                Feng Qin
                wrote on last edited by
                #7

                If the object you stored in Array implements the IComparable interface, you can use Array.Sort to sort the elements by your own algorithms. I'm amumu, and you?

                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