Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sequence GUID
Message
 
 
To
07/05/2009 12:25:44
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
C# 3.0
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01398391
Message ID:
01398399
Views:
76
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform