Answers for "unique id c#"

C#
1

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