Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
default literal with C# 7.1
// C# 7.0
int x = default(int);
ImmutableArray<int> arr = default(ImmutableArray<int>);
// C# 7.1
int x = default;
ImmutableArray<int> arr = default;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment