What is List<int> numQuery2 =

  • Thread starter Thread starter Ant
  • Start date Start date
A

Ant

Hi,

I found in MSDN some sample code:

List<int> numQry = ...etc

I couldn't find any info in MSDN on List or <int> though.
Does anybody know what this is & in which namespace it belongs in?

Many thanks for any help
Ant
 
List<...> is a generic type. Look up generic types. They were introduced
in C# 2.0 (2005).
 
Thank you, I found it, in the Collections.Generics namespace
Thanks very much

Ant

but whenver I try to use it in VS2008 express,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top