C# Crawler
Sagiv Hadaya is crawling in C#...just for fun


Thursday, September 19, 2002
 
Guids

An easy and fast way to create unique ID's for your application is GUIDs,

A GUID is a 128-bit integer (16 bytes) that can be used across all computers and networks wherever a unique identifier is required. Such an identifier has a very low probability of being duplicated.

in C# we create a new guid like so:

System.Guid guid=System.Guid.NewGuid();

this will generate a guid out of your local MAC (network adapter physical address which itself is unique) your local time, and more...if you run this more then once: guid=System.Guid.NewGuid();  you are guaranteed to NEVER get the same guid again.


9:49:14 AM    
Threads made easy

Dont believe everything they told you...Threads in C# is not hard, in fact its not even easy, its SUPER easy.
 
A thread is an encapsulation of the flow of control in a program. you might be used to
writing single-threaded programs
[...]
 
a new article is now available through the articles section (the left pane) or here

9:36:34 AM    



Click here to visit the Radio UserLand website. © Copyright 2002 Sagiv Hadaya.
Last update: 10/14/2002; 12:53:51 AM.
September 2002
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Aug   Oct





Subscribe to "C# Crawler" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

Google

 

Got_Dot_Net

C#_Help

C#_Organization

DEVX

Google

Microsoft

CSharp_Friends

C_Sharp_Center