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. How to implement hash table functionality in c#

How to implement hash table functionality in c#

Scheduled Pinned Locked Moved ASP.NET
csharpdata-structurescryptographyhelptutorial
5 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.
  • S Offline
    S Offline
    sri_0099
    wrote on last edited by
    #1

    Hi, Really,i need to implement hash table like functionality in my application, can anybody help me. Thanks, Sri

    P G 2 Replies Last reply
    0
    • S sri_0099

      Hi, Really,i need to implement hash table like functionality in my application, can anybody help me. Thanks, Sri

      P Offline
      P Offline
      Piyush Vardhan Singh
      wrote on last edited by
      #2

      what u want? dim hs as new hashtable hs.add("1",ram) hs.add("2",ram) hs.add("3",ttt)

      Piyush Vardhan Singh p_vardhan14@rediffmail.com http://holyschoolofvaranasi.blogspot.com http://holytravelsofvaranasi.blogspot.com

      S 1 Reply Last reply
      0
      • P Piyush Vardhan Singh

        what u want? dim hs as new hashtable hs.add("1",ram) hs.add("2",ram) hs.add("3",ttt)

        Piyush Vardhan Singh p_vardhan14@rediffmail.com http://holyschoolofvaranasi.blogspot.com http://holytravelsofvaranasi.blogspot.com

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

        Piyush, Actually i need internal structure..i mean internal functionality of hash table.(hashtable class structure) Thanks Sri

        G 1 Reply Last reply
        0
        • S sri_0099

          Hi, Really,i need to implement hash table like functionality in my application, can anybody help me. Thanks, Sri

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Use a Dictionary<Key,Value>. Example: Dictionary<string, string> test = new Dictionary<string, string>(); test.Add("answer", "42"); string answer = test["answer"];

          Despite everything, the person most likely to be fooling you next is yourself.

          1 Reply Last reply
          0
          • S sri_0099

            Piyush, Actually i need internal structure..i mean internal functionality of hash table.(hashtable class structure) Thanks Sri

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            Reinventing the wheel... it has to be a homework assignment?

            Despite everything, the person most likely to be fooling you next is yourself.

            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