Created
December 21, 2017 01:39
-
-
Save carlosschults/7f0f2f7470f810d228f1d68559b1d6b7 to your computer and use it in GitHub Desktop.
csharp8-new-operator.cs
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
public void Foo(string? bar) | |
{ | |
if (!bar.IsNullOrEmpty()) | |
{ | |
var length = bar.Length; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment