Is there any way to implement only setter and keep using shorthand (get;
) for getter in c# or other way around?
For example: converting email to lower case while setting-
public string Email { get; set { Email = value.ToLower(); } }
Can we do this in any way?