Skip to content

Instantly share code, notes, and snippets.

@carlosschults
Created December 21, 2017 01:35
csharp8-null.cs
public int CalculateSquareOfAge(Person? p)
{
int age = p.Age;
return age * age;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment