Sockreg

Sockreg

Joined:
Oct 14, 2008
Occupation:
Student
Location:
Malta

Interests

.NET, HTML, CSS, JavaScript, Ruby

Activity Stream

Sockreg liked a Snippet, PHPTok  -  Dec 07, 2009
Sockreg posted a Snippet  -  Dec 06, 2009
Sockreg posted a Snippet  -  Dec 05, 2009
Sockreg posted a Snippet  -  Dec 05, 2009
Sockreg commented on a Snippet, Check Internet Connection  -  Dec 02, 2009
If you're into scripting I would suggest F# .. It basically gives you all the benefits of a compiled language and the agile/cool features of a scripting language.. It's pretty much the next big thing in Microsoft and considered to be the language of the future :)
 Respond  
Sockreg commented on a Snippet, MD5 Hashing  -  Dec 02, 2009
You are converted the dataToHash string inputted in the function to a set of bytes that can be hashed by the hashing algorithm. Once the byte array is hashed it is converted to a string and returned.
 Respond  
Sockreg commented on a Snippet, Check Internet Connection  -  Dec 02, 2009
The imports keyword is only used to create a shorthand notation for ease of use of the underlying namespace classes. When converted to MSIL the hardcoded IL written is actually System.Console.WriteLine ...

You are actually "importing" the functionality of an assembly when you add it to your project reference's file. P.S you can only use Imports when an external assembly is referenced.
 Respond  
Sockreg posted a Snippet  -  Dec 01, 2009
Sockreg commented on a Snippet, Check Internet Connection  -  Dec 01, 2009
This snippet does not detect if your computer is connected to the internet. It actually determines if your computer is connected to a network (like LAN etc) :)
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.