How would I go about aliasing a variable from it's plural form so that referencing the plural form changes or returns the single form?
I have a global variable as such with a Getter and Setter:
public string UserName { get; set; }
And would like to set up an aliased variable UserNames that would return UserName and when set would modify UserName?
I've tried public string UserNames { get => UserName; set => UserName = UserNames } but that didn't seem to work.