Last active
October 22, 2020 17:20
-
-
Save timsneath/c180409725fb2570dc90cf1013db8d66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// In function parameters. | |
void initialize(int? count) { | |
// It's possible that count is null. | |
} | |
// In function return values. | |
static List<double?>? getTemperatures() { | |
// Can return null instead of a List, and the list can contain nulls. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment