read more on this blog
http://speckyboy.com/2011/02/23/10-completely-free-wireframing-and-mockup-tools/
http://speckyboy.com/2011/02/23/10-completely-free-wireframing-and-mockup-tools/
Latest software technology will be discuss here
System.GUID class represents a GUID in .NET Framework. System.GUID has static method NewGuid() , which generates a new Guid. // This code example demonstrates the Guid.NewGuid() method.
using System;
class Sample
{
public static void Main()
{
Guid g;
// Create and display the value of two GUIDs.
g = Guid.NewGuid();
Console.WriteLine(g);
Console.WriteLine(Guid.NewGuid());
}
}
/*
This code example produces the following results:
0f8fad5b-d9cb-469f-a165-70867728950e
7c9e6679-7425-40de-944b-e07fc1f90ae7
*/
As the Guid structure cannot be set to null, a value must be used to represent an ID that is not set. For that, GUID.Empty is a read-only instance of the GUID class whose value is guaranteed to be all zeros( 00000000-0000-0000-0000-000000000000 ). This is the same value that is generated by the parameter-less constructor. In order that a new Guid structure is not created every time a value must be compared with the empty GUID, the structure provides the Empty property. This property is read-only and always returns an empty GUID. // This code example demonstrates the Guid.NewGuid() method.
using System;
class Sample
{
public static void Main()
{
Guid guidObj = new GUID();
// Compare with guidObj with GUID.EmptyConsole.WriteLine(guidObj == GUID.Empty); // Returns true
// Assign New GUID to guidObj
guidObj = Guid.NewGuid();
// Again, compare with guidObj with GUID.Empty
Console.WriteLine(guidObj); // Returns false
}
}
ToString method. If the method is used without parameters, the GUID is formatted as a simple series of hexadecimal digits in the five groups described earlier.ToString method.| Specifier | Description | Format of return value |
|---|---|---|
| N | 32 digits | 00000000000000000000000000000000 |
| D | 32 digits separated by hyphens | 00000000-0000-0000-0000-000000000000 |
| B | 32 digits separated by hyphens, enclosed in braces | {00000000-0000-0000-0000-000000000000} |
| P | 32 digits separated by hyphens, enclosed in parentheses | (00000000-0000-0000-0000-000000000000) |
| X | Four hexadecimal values enclosed in braces, where the fourth value is a subset of eight hexadecimal values that is also enclosed in braces: | {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} |
required will indicate that a value must be supplied