✅ Creating a number generically?
Is it possible to do this? For example, here's this basic method that gets the digits of any object implementing INumber:
Instead of having to pass
10
into the method, would there be a way to create the 10 inside of the method to hide it from the user?2 Replies