Generate key in Java & C# common for both languages
I want to generate key algorithm with 16 character. That algorithm method should be able to use in two language(Java & C#)?
In java I used UU开发者_Go百科ID
.That is not available in C#.
Please guide me.
In .NET you could use the Guid class and more specifically the NewGuid static method if you want to generate a new one.
var guid = Guid.NewGuid();
精彩评论