Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence GUID
Message
 
 
À
07/05/2009 12:25:44
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01398391
Message ID:
01398399
Vues:
80
>BTW,
Guid NewID = new Guid();
doesn't generate a new GUID, it just create a new instance of the Guid class.
>
>>What do you mean by sequence?
>>
>>Otherwise it's
>>
>>Guid NewID = new Guid();
>>NewID = Guid.NewGuid();

I posted two lines of code. Was I wrong and the new statement is not needed? Is Guid a static class?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform