Answers for "generate unique id in 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

Code answers related to "generate unique id in c#'"

C# Answers by Framework

Browse Popular Code Answers by Language