System.Guid.Empty Field

A read-only instance of the Guid structure whose value is all zeros.

Value: 00000000-0000-0000-0000-000000000000

Syntax

public static readonly Guid Empty

Remarks

You can compare a GUID with the value of the Guid.Empty field to determine whether a GUID is non-zero. The following example uses the Guid.op_Equality(Guid, Guid) operator to compare two GUID values with Guid.Empty to determine whether they consist exclusively of zeros.

code reference: System.Guid.Empty#1

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0