Windows Vista Forums

object.GetHashCode()?

  1. #1


    deostroll Guest

    object.GetHashCode()?

    Hi,

    Is the value generated by the above call always unique? Can I use it
    to populate a datatable with a column that has a primary key
    constraint?



    --deostroll

      My System SpecsSystem Spec

  2. #2


    Hauer W Guest

    Re: object.GetHashCode()?

    Hi!

    Use a guid for that purpose


    Wolfgang

    "deostroll" <deostroll@xxxxxx> schrieb im Newsbeitrag
    news:2050fd36-3903-4683-b28a-9baaccbc5021@xxxxxx

    > Hi,
    >
    > Is the value generated by the above call always unique? Can I use it
    > to populate a datatable with a column that has a primary key
    > constraint?
    >
    > --deostroll

      My System SpecsSystem Spec

object.GetHashCode()?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding TextBox.Text to property in nested (multi levels) object withbindingsource, Error if grandchild object is NULL Efy .NET General 0 14 Oct 2009
Inherit from usercontrol - Object not set to instance of an object Nemisis .NET General 0 10 Jun 2009
datalist -- Object reference not set to an instance of an object. Deere .NET General 0 31 Aug 2008
something better than String.getHashCode buu .NET General 6 27 Jun 2008
Adding canonical aliases for Compare-Object, Measure-Object, New-Object Alex K. Angelopoulos [MVP] PowerShell 2 26 May 2006