[Solved] Operator ‘+’ cannot be applied to operands of type ‘string’ and ‘void’ C# WebMethod


HttpContext.Current.Response.Redirect doesn’t return a string.

I suppose you wanted to do:

"<br /><a href="https://stackoverflow.com/questions/63356491/CS_Activation.aspx?ActivationCode=">Click here to change your password.</a>";

solved Operator ‘+’ cannot be applied to operands of type ‘string’ and ‘void’ C# WebMethod