Then Einar I guess the correct c# syntax would be string myString = system.Guid.NewGuid.ToString();
:P
>Well it is almost the same, correct C# syntax is: System.Guid.NewGuid().ToString();
>
>>The same way as in VB use System.Guid.NewGuid.ToString
>>
>>>How can I generate a unique ID using C#. For example, I want to replicate the functionality of the Visual Foxpro SYS(2015) function.
>>>
>>>How can I do this?
>>>
>>>Thanks,
>>>
>>>Jerry
Alexandre Palma
Senior Application Architect