I have calls like this in my class;
AddConversion<string>(
PropertyHelper<PlayerCreditsBalanceWriter>.GetProperty(x => x.Credits),
i => (long)i + ".0");
How can I make it more like this?
AddConversion<string>(x => x.Credits, i => (long)i + ".0");
And avoid the verbose property getter?
New contributor
sam korbin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.