In general, if you can't find what you're looking for in the samples, you have a few different ways to figure out how to do it. The documentation has, for example, all of the "list"-level endpoints that are available in the API (as well as campaigns, subscribers, templates etc).

Each of those endpoints will tend to have a matching method on the List object in the .NET library.

You can then find the one you're looking for by either reading the code or just letting intellisense guide in you Visual Studio.