Closed DavidArno closed 4 years ago
Currently, SuccincT supplies the Ignore function for ignore the return value from an expression, eg
Ignore
Ignore(someTest ? value1 : value2);
However, as of C# 7, there is now support for using discards to achieve this without the overhead of a method call:
_ = someTest ? value1 : value2;
As a result, Ignore is no longer useful or needed. Therefore it should be removed from v4.
Done.
Currently, SuccincT supplies the
Ignore
function for ignore the return value from an expression, egHowever, as of C# 7, there is now support for using discards to achieve this without the overhead of a method call:
As a result,
Ignore
is no longer useful or needed. Therefore it should be removed from v4.