Answer the question
In order to leave comments, you need to log in
Where to look for an error in C# code?
I decompile one project in C # and try to assemble what I need from the pieces. Unfortunately, I can’t show the code out of harm’s way =)
I have the following error:
Error 1 Since 'ConsoleApplication5.Program.Main(string[])' returns void, a return keyword must not be followed by an object expression
the error refers to
return myClass;
which can lead to this error. I can't come up with a clear explanation. thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question