Skip to content

Instantly share code, notes, and snippets.

@christiannagel
Created June 15, 2018 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christiannagel/4ee9a9efabc2087122f0c8afb4d3a13f to your computer and use it in GitHub Desktop.
Save christiannagel/4ee9a9efabc2087122f0c8afb4d3a13f to your computer and use it in GitHub Desktop.
Using a C# 8 library from a C# 7 application
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