Skip to content

Instantly share code, notes, and snippets.

@DannyRusnok
Created January 7, 2022 16:07
Show Gist options
  • Save DannyRusnok/b865a4526cf346559cd9d6ba96fa09e1 to your computer and use it in GitHub Desktop.
Save DannyRusnok/b865a4526cf346559cd9d6ba96fa09e1 to your computer and use it in GitHub Desktop.
public class Person
{
public Guid Id { get; set; }
public string Name { get; set; }
public string LastName { get; set; }
public Address Address { get; set; }
}
public record class Address(string City, string Street, string ZipCode);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment