So here is my code:
public class landen { public static List Lijst() { List lijst = new List {
This sort of error occurs if you have a custom List class, and it is less accessible than the method itself.
Consider making your custom list public. That should solve the problem.