I'm getting the error in the subject line based on the following code:
var myReport = new List<Tuple<Guid, string, int>>();
myReport.Add(new Tuple<Guid, string, int>(domainId, domainName, domainCount));
domainId, domainName and domainCount all have the expected data types. Any idea what might be causing this error?
The problem was with a missing semicolon on the subsequent line of code. I see this type of error every once in a while. The compilation error is obviously a bit confusing, but I guess that's how the compiler interprets the code for this particular scenario.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With