I am reading an MVC 5 tutorial online (here). It says to use this code:
List<Employee><employee> employees = new List<Employee><employee>();
I get an red underline. I understand I am trying to create an list of type Employee (there is an Employee class). But why don't I do it like this:
List<Employee>employees = new List<Employee>();
What does the...
<employee>
...part of the code do? Why do I need it? It's just giving me a red underline. Maybe I need to upgrade to MVC 5 from MVC 4? I'm using Visual Studio 2012 (MVC 4)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire