unique id c#

87

unique id c# -

public string generateID()
{
    return Guid.NewGuid().ToString("N");
}

unique id c# -

public string generateID(string sourceUrl)
{
    return string.Format("{0}_{1:N}", sourceUrl, Guid.NewGuid());
}

unique id c# -

public string generateID()
{
    return Guid.NewGuid().ToString("N");
}

Comments

Submit
0 Comments