Created
October 31, 2022 16:52
-
-
Save jindeveloper/0cc991f9fdf0f0d4e59e27876faa1ab4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Xunit; | |
namespace Inline_Out_Variables_Csharp | |
{ | |
public class UnitTest1 | |
{ | |
[Fact] | |
public void ParseEmptyGuid_Test_OlderCsharpSyntax() | |
{ | |
Guid result = Guid.Empty; | |
var guidResult = Guid.TryParse("", out result); | |
Assert.False(guidResult); | |
Assert.Equal(Guid.Empty, result); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment