Metric and binary prefix for units of measurement
https://en.wikipedia.org/wiki/Metric_prefix
https://en.wikipedia.org/wiki/Binary_prefix
For example:
With configuration class:
class Conf
{
public long MaxSize;
}
Section
Parsed to
settings.Get<Conf>("Conf").MaxSize == 1024
Section
Parsed to
settings.Get<Conf>("Conf").MaxSize == 512
Section
Parsed to
settings.Get<Conf>("Conf").MaxSize == 1000