Skip to main content

Definition

Assembly: System.Runtime.dll Namespace: System

Syntax

System.Guid

Summary

This type is defined in System.Runtime.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

ToComparableString Extension

Extension method from System.EasyAF_GuidExtensions
A little syntactical sugar to make sure GUIDs are outputted to a format that ensures accurate string comparisons.

Syntax

public static string ToComparableString(System.Guid instance)

Parameters

NameTypeDescription
instanceSystem.GuidThe Guid to convert.

Returns

Type: string An upper-case string representing the GUID instance to be compared.

Remarks

See https://msdn.microsoft.com/en-us/library/bb386042.aspx for more details.