I'm just learning C#, but what's the 'fun' of SET if I can't do that? And then what should I do if my input is string only?
public class Parameter
{
public double? low_bound {
get { return low_bound ; }
set { low_bound = Convert.ToDouble(value); }
}
}
and in another file I do:
param.low_bound = "string that I recieved from DB";