The following used to work but now throws an error cannot convert from ConnectionMethod to decimal
public static ConnectionMethod connectionMethod
{
get { return AppSettings.GetValueOrDefault(connMethodKey, connMethodDefault); }
set { AppSettings.AddOrUpdateValue(connMethodKey, value); }
}
I understand I need to serialize the value to and from string but I cannot find an example of this and must confess I can't work it out myself.
Could someone show me an example of how this is done?