var name = new UserName("name");
public readonly record struct UserName
private string Value { get; }
public UserName(string value)
if (string.IsNullOrEmpty(value))
throw new ArgumentNullException(nameof(value));
public override string ToString() => $"The value is: {Value}";