Given the example below, can someone please show me how this could be called?
bool WithinDelta<T>(T input1, T input2, T delta)
Ive tried various ways such as
bool foo = GenericMath.WithinDelta(1, 50, 75);
bool foo = GenericMath.WithinDelta<int>(1, 50, 75);
but the Type <T>
is throwing me off.
Sorry for the basic question, but Im sick of beating my head on the desk over something this basic.