Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created Aug 16, 2021
Embed
What would you like to do?
class Person
{
public string Name { get; init => field = value.Trim(); }
public DateTime DateOfBirth { get; set => field = value.Date; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment