Question: Why is the error telling me an int I’m using is a void?

programIDS.Add(programName,new List<int>().Add(program.Id));

It's giving me an error on the last part even though program.Id is an int.

by Th3Outsid3r via /r/csharp

Leave a Reply