hashtable + binary

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ching-Lung

    #1

    hashtable + binary

    Hi,

    I have a hashtable with some data and want to write it to
    a binary file. Also, if I read this binary, I want to be
    able to reconstruct the hashtable. How do I do this? Or
    is this possible to do this?

    Please help, thanks!
    -CL
  • Jay B. Harlow [MVP - Outlook]

    #2
    Re: hashtable + binary

    CL,
    Binary Serialization is the 'easiest' method.

    The following articles provide a wealth of information on serialization:

    http://msdn.microsoft.com/msdnmag/issues/02/04/net/
    http://msdn.microsoft.com/msdnmag/issues/02/07/net/
    http://msdn.microsoft.com/msdnmag/issues/02/09/net/

    Hope this helps
    Jay

    "Ching-Lung" <chinglung@alum ni.cs.utexas.ed u> wrote in message
    news:1a97801c38 7ba$0a051d40$a6 01280a@phx.gbl. ..[color=blue]
    > Hi,
    >
    > I have a hashtable with some data and want to write it to
    > a binary file. Also, if I read this binary, I want to be
    > able to reconstruct the hashtable. How do I do this? Or
    > is this possible to do this?
    >
    > Please help, thanks!
    > -CL[/color]


    Comment

    • Ching-Lung

      #3
      Re: hashtable + binary

      Jay,

      Ya da man! It's absolutely the easiest way to go with.

      Thanks!
      -CL

      [color=blue]
      >-----Original Message-----
      >CL,
      >Binary Serialization is the 'easiest' method.
      >
      >The following articles provide a wealth of information on[/color]
      serialization:[color=blue]
      >
      >http://msdn.microsoft.com/msdnmag/issues/02/04/net/
      >http://msdn.microsoft.com/msdnmag/issues/02/07/net/
      >http://msdn.microsoft.com/msdnmag/issues/02/09/net/
      >
      >Hope this helps
      >Jay
      >
      >"Ching-Lung" <chinglung@alum ni.cs.utexas.ed u> wrote in[/color]
      message[color=blue]
      >news:1a97801c3 87ba$0a051d40$a 601280a@phx.gbl ...[color=green]
      >> Hi,
      >>
      >> I have a hashtable with some data and want to write it[/color][/color]
      to[color=blue][color=green]
      >> a binary file. Also, if I read this binary, I want to[/color][/color]
      be[color=blue][color=green]
      >> able to reconstruct the hashtable. How do I do this?[/color][/color]
      Or[color=blue][color=green]
      >> is this possible to do this?
      >>
      >> Please help, thanks!
      >> -CL[/color]
      >
      >
      >.
      >[/color]

      Comment

      Working...