By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 1,942 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

List resize

P: n/a
Hello,

It looks like there is no List<resize in C#, similar to C++'s STL
vector<>. Am I missing some alternative?

Thanks,

jeff

Sep 26 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You can use an arraylist. Is that what you are talking about.
Jeff.Boe...@gmail.com wrote:
Hello,

It looks like there is no List<resize in C#, similar to C++'s STL
vector<>. Am I missing some alternative?

Thanks,

jeff
Sep 26 '06 #2

P: n/a
Thanks, but I meant the generic List which is part of ,Net 2.0.

Jeff
ad***@binindex.net wrote:
You can use an arraylist. Is that what you are talking about.
Jeff.Boe...@gmail.com wrote:
Hello,

It looks like there is no List<resize in C#, similar to C++'s STL
vector<>. Am I missing some alternative?

Thanks,

jeff
Sep 27 '06 #3

P: n/a
Hello Je*********@gmail.com,

Check out .Add(), .Remove(), and .Capacity

-Boo
Thanks, but I meant the generic List which is part of ,Net 2.0.

Jeff
ad***@binindex.net wrote:
>You can use an arraylist. Is that what you are talking about.
Jeff.Boe...@gmail.com wrote:
>>Hello,

It looks like there is no List<resize in C#, similar to C++'s STL
vector<>. Am I missing some alternative?

Thanks,

jeff

Sep 27 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.