Skip to content

Instantly share code, notes, and snippets.

@plioi
Created May 23, 2012 01:16
Show Gist options
  • Save plioi/2772701 to your computer and use it in GitHub Desktop.
Save plioi/2772701 to your computer and use it in GitHub Desktop.
//Value types can be made nullable, like in C#:
int a = 1
int? b = null
//But even reference types are non-nullable by default in Rook:
string str = null // Compile error!
string? nullableStr = null // OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment