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

[ad_1]

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>";

[ad_2]

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