I'm getting the above error on the ToList() line of the code below
if (emailReplyTo != null)
{
System.Collections.Generic.List<String> replyto
= emailReplyTo
// Strip uneccessary spaces
.Replace(", ", ",")
.Split(',')
.ToList();
request.WithReplyToAddresses(emailReplyTo);
}
I have included using System.Collections;
at the top of my file.
The target framework is 3.5, so why is this causing an error?
Output
window. BecauseError
window might be misleading sometimes. – Corybantic