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. Hashtable and dictionary

Hashtable and dictionary

Scheduled Pinned Locked Moved C#
cryptographyquestion
10 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.
  • S Offline
    S Offline
    sujithkumarsl
    wrote on last edited by
    #1

    Shall we replace all the Hash tables with Dictionary?? Other than boxing-unboxing any other difference between these two?

    My small attempt...

    N 1 Reply Last reply
    0
    • S sujithkumarsl

      Shall we replace all the Hash tables with Dictionary?? Other than boxing-unboxing any other difference between these two?

      My small attempt...

      N Offline
      N Offline
      nagendrathecoder
      wrote on last edited by
      #2

      Have a look at This[^], You'll get your answer. :)

      S 1 Reply Last reply
      0
      • N nagendrathecoder

        Have a look at This[^], You'll get your answer. :)

        S Offline
        S Offline
        sujithkumarsl
        wrote on last edited by
        #3

        i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question

        My small attempt...

        L 1 Reply Last reply
        0
        • S sujithkumarsl

          i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question

          My small attempt...

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

          sujithkumarsl wrote:

          i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question

          That's a bit rude, dude. Yeah, it's monday again :) Anyway, to answer your question; both Hashtable and Dictionary are present in the framework. If one could replace the other, wouldn't they just "drop" one? There's some subtle differences between the two, and even though the behave similar, they're not exactly the same. So, it's no good to replace all traffic-signs, you'd have to go down to the street and judge the situation at hand.

          I are Troll :suss:

          S P 3 Replies Last reply
          0
          • L Lost User

            sujithkumarsl wrote:

            i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question

            That's a bit rude, dude. Yeah, it's monday again :) Anyway, to answer your question; both Hashtable and Dictionary are present in the framework. If one could replace the other, wouldn't they just "drop" one? There's some subtle differences between the two, and even though the behave similar, they're not exactly the same. So, it's no good to replace all traffic-signs, you'd have to go down to the street and judge the situation at hand.

            I are Troll :suss:

            S Offline
            S Offline
            sujithkumarsl
            wrote on last edited by
            #5

            we should not encourage unnecessary replies, that why i did it... :) Yes you got my correct question.. Now I want to know in what situation I can not replace Hashtable with Dictionary. Please put some more lights

            My small attempt...

            1 Reply Last reply
            0
            • L Lost User

              sujithkumarsl wrote:

              i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question

              That's a bit rude, dude. Yeah, it's monday again :) Anyway, to answer your question; both Hashtable and Dictionary are present in the framework. If one could replace the other, wouldn't they just "drop" one? There's some subtle differences between the two, and even though the behave similar, they're not exactly the same. So, it's no good to replace all traffic-signs, you'd have to go down to the street and judge the situation at hand.

              I are Troll :suss:

              S Offline
              S Offline
              sujithkumarsl
              wrote on last edited by
              #6

              i think i got it finally Here it is

              My small attempt...

              L 1 Reply Last reply
              0
              • S sujithkumarsl

                i think i got it finally Here it is

                My small attempt...

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

                That's a nice explanation, thanks for the link :)

                I are Troll :suss:

                1 Reply Last reply
                0
                • L Lost User

                  sujithkumarsl wrote:

                  i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question

                  That's a bit rude, dude. Yeah, it's monday again :) Anyway, to answer your question; both Hashtable and Dictionary are present in the framework. If one could replace the other, wouldn't they just "drop" one? There's some subtle differences between the two, and even though the behave similar, they're not exactly the same. So, it's no good to replace all traffic-signs, you'd have to go down to the street and judge the situation at hand.

                  I are Troll :suss:

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  Eddy Vluggen wrote:

                  That's a bit rude

                  He was only responding to the rudeness of nagendrathecoder.

                  L 1 Reply Last reply
                  0
                  • P PIEBALDconsult

                    Eddy Vluggen wrote:

                    That's a bit rude

                    He was only responding to the rudeness of nagendrathecoder.

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

                    PIEBALDconsult wrote:

                    He was only responding to the rudeness of nagendrathecoder.

                    You're right. I don't know why I fell over this particular post, must have been the phrasing or the mondays. FWIW, I don't like the "just Google it"-answers either, but I have to admit that those links have helped me once or twice - just by having the correct searchterm.

                    I are Troll :suss:

                    P 1 Reply Last reply
                    0
                    • L Lost User

                      PIEBALDconsult wrote:

                      He was only responding to the rudeness of nagendrathecoder.

                      You're right. I don't know why I fell over this particular post, must have been the phrasing or the mondays. FWIW, I don't like the "just Google it"-answers either, but I have to admit that those links have helped me once or twice - just by having the correct searchterm.

                      I are Troll :suss:

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #10

                      Eddy Vluggen wrote:

                      just by having the correct searchterm.

                      Absolutely, some times you don't know the proper terms to ask for. But that doesn't seem to be the case here, it looks like the poster had already read a bunch of such articles, but was looking for more.

                      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