I'm trying to view very basic code looping through models. but, every time I run VS code console app I get this error
The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?)
The build failed. Fix the build errors and run again.
I use the following command to run the app
dotnet run // to reun console application
what's wrong with the code !!
using System; class Program { static void Main(string[] args) { List<int> list = new List<int>(); } }