im getting this error [IDLE] CompilationErrorException: (29,452): error CS1073: Unexpected token ‘class’
after putting post data in the http request and start debugger getting this error
im getting this error [IDLE] CompilationErrorException: (29,452): error CS1073: Unexpected token ‘class’
after putting post data in the http request and start debugger getting this error
Maybe you’re using interpolated mode in your post data, and it has the <
and >
characters both used for variables and for other stuff like XML (something like <class>
or so in your case), in that case it’s interpreting everything as a variable, and class
is a reserved C# keyword which is not expected to be found in the middle of an interpolated string. There are a few questions on this forum on how to deal with XML post data, please use the search function.