Answers for "set unique id int c#"

C#
3

unique id c#

public string generateID()
{
    return Guid.NewGuid().ToString("N");
}
Posted by: Guest on August-10-2021
0

unique id c#

public string generateID(string sourceUrl)
{
    return string.Format("{0}_{1:N}", sourceUrl, Guid.NewGuid());
}
Posted by: Guest on August-10-2021

C# Answers by Framework

Browse Popular Code Answers by Language