Answer the question
In order to leave comments, you need to log in
Microsoft Visual Studio 2017 - How to fix compilation error?
Hello! I have been programming one of my programs for about 3 weeks. And today I decided to check it, when I started to run it, I got an error: CS8078 The expression is too long or difficult to compile, and showed an innocent line with if, where nothing was specified at all (the program has not yet been completed). I removed this line, I run: Again a random line. I do not understand how to solve this problem, I will be grateful for any help in advance. I am programming in C# in Visual Studio 2017.
Answer the question
In order to leave comments, you need to log in
In your case, error CS8078 means that your entire program is one giant if-elseif statement. You have two solutions:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question