Answers for "how to pass optional guid parameters in c#"

C#
0

how to pass optional guid parameters in c#

public void Problem(Guid optional = default(Guid))
{
  // when called without parameters this will be true
  var guidIsEmpty = optional == Guid.Empty;
}
Posted by: Guest on January-27-2021

Code answers related to "how to pass optional guid parameters in c#"

C# Answers by Framework

Browse Popular Code Answers by Language