Created
June 15, 2018 06:06
-
-
Save christiannagel/4ee9a9efabc2087122f0c8afb4d3a13f to your computer and use it in GitHub Desktop.
Using a C# 8 library from a C# 7 application
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
var glory = new NewAndGlory(); | |
string s1 = glory.GetANullString(); | |
string s2 = glory.GetAString(); | |
string s3 = glory.PassAString(null); // having a NullReferenceException here! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment