.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

"The type or namespace name 'List' could not be found"

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :ASP.Net
Hi all,

I'm working through the C# version of ScottGu's Visual Studio 2005 Web Application Project Tutorials <http://webproject.scottgu.com/CSharp/Data/Data.aspx> and am stuck on the Publisher class. After adding the Author list then trying to compile, I get the following error:

...My Documents\Computing\Programming\C#\scottgu\tut1\tut1\Publisher.cs(15,16): The type or namespace name 'List' could not be found (are you missing a using directive or an assembly reference?)

Any suggestions?



I'm running WinXP Pro 2002 w/ SP2 and am developing under Visual Studio 2005 Version 8.0.50727.42 using .Net Framework Version 2.050727 (I have installed a C# update and think I'm running C# 3)

Microsoft Visual Studio Pro 2005 Version 8.0.50727.42  (RTM.050727-4200)
Microsoft .NET Framework Version 2.0.50727

Microsoft Visual C# 2005  

Microsoft Visual Web Developer 2005  

Microsoft Web Application Projects 2005 Version 8.0.60504.00

Microsoft .NET LINQ Preview
Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB915364)  

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend