Tag Archives: generics

Implementing a Generic Method with Function as Parameters Using Interfaces

Consider the following: Say the function getListItems() needs to download a JSON output, parse it, and return a list of items of a specific type. Depending on the URL we get the output from, we might want to parse the … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment