[C#][ASP.NET] The type or namespace name ‘Dictionary<,>’ could not be found

Some common errors from beginners to start a C# project
N2I -2020.10.29

  1. Causing issue

using System.Collections.Generic; was not included in the project.

2. Solution

Add the following code to the top

using System.Collections;
using System.Collections.Generic;