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. How to implement hash table like functionality

How to implement hash table like functionality

Scheduled Pinned Locked Moved C#
data-structurescryptographyhelptutorial
7 Posts 6 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
    sri_0099
    wrote on last edited by
    #1

    Please help me regards, Sri

    A M L D 4 Replies Last reply
    0
    • S sri_0099

      Please help me regards, Sri

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      srinivas0099 wrote:

      Please help me

      Why? You cannot even write a proper question. Write some code, then when it doesn't work post a specific question.

      Bob Ashfield Consultants Ltd

      1 Reply Last reply
      0
      • S sri_0099

        Please help me regards, Sri

        M Offline
        M Offline
        Manas Bhardwaj
        wrote on last edited by
        #3

        srinivas0099 wrote:

        Please help me

        :wtf:

        Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        1 Reply Last reply
        0
        • S sri_0099

          Please help me regards, Sri

          L Offline
          L Offline
          lisan_al_ghaib
          wrote on last edited by
          #4

          WTF ! use Dictionnary class :omg:

          1 Reply Last reply
          0
          • S sri_0099

            Please help me regards, Sri

            D Offline
            D Offline
            DaveyM69
            wrote on last edited by
            #5

            System.Collections.Hashtable hashtable = new System.Collections.Hashtable();

            Dave
            BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
            Expect everything to be hard and then enjoy the things that come easy. (code-frog)

            P 1 Reply Last reply
            0
            • D DaveyM69

              System.Collections.Hashtable hashtable = new System.Collections.Hashtable();

              Dave
              BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
              Expect everything to be hard and then enjoy the things that come easy. (code-frog)

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              Well, that's just obviously wrong. He said Hashtable-like functionality, not Hashtable functionality. The way I see it, he has 4 options: 1. public class MyHashtable : Hashtable {} 2. public class MyHashtable { /* Implement the hash table in here as a member variable that links to a standard Hashtable */ } 3. public class MyHashtable { /* Implement the hash table here from scratch */ } or my favourite: 4. Go to job centre and apply for position with Pizza Hut as table wiper.

              Deja View - the feeling that you've seen this post before.

              My blog | My articles

              D 1 Reply Last reply
              0
              • P Pete OHanlon

                Well, that's just obviously wrong. He said Hashtable-like functionality, not Hashtable functionality. The way I see it, he has 4 options: 1. public class MyHashtable : Hashtable {} 2. public class MyHashtable { /* Implement the hash table in here as a member variable that links to a standard Hashtable */ } 3. public class MyHashtable { /* Implement the hash table here from scratch */ } or my favourite: 4. Go to job centre and apply for position with Pizza Hut as table wiper.

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                D Offline
                D Offline
                DaveyM69
                wrote on last edited by
                #7

                Pete O'Hanlon wrote:

                Pizza Hut

                Hashtable - maybe the Amsterdam branch[^]?

                Pete O'Hanlon wrote:

                table wiper

                ... as easy as pizzatable.Clear();

                Dave
                BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
                Expect everything to be hard and then enjoy the things that come easy. (code-frog)

                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