public string Describe(PreferredDescriptionType type) { switch (type) { case PreferredDescriptionType.Short: return(_short); case PreferredDescriptionType.Long: return(_long); default: throw new ArgumentOutOfRangeException(nameof(type), type, null); } }
public string Describe(PreferredDescriptionType type) => $"Screen {Index}: {Size.Width}x{Size.Height}, At: {Position.X}, {Position.Y}";