1022 – Visual Studio 2012 C# - Error Window
http://visualstudio-steps.blogspot.com/2014/12/1021-creating-simple-c-console.html
Startup codes
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { // Output text to the screen. Console.WriteLine("Beginning Visual C# 2012!"); Console.ReadKey(); } } } |
2.1) Go to Menu. Select Tools/Option.
Select Text Editor/All Languages/Line Numbers (select).
2.2) Outcome.
3.1) Find the “;” character in line no. 15.
Delete this symbol.
3.2) Outcome.
Visual Studio warns you that there is an error.
If you hover your mouse on the error marker, you will get some explanation.
4.1) Go to Menu. Select Debug/Start with debugging.
You get an error dialog.
Select Yes.
4.2) Outcome.