online UUID generator API C# code example Example: generate guid c# Guid g = Guid.NewGuid(); string guid = Guid.NewGuid().ToString();