Jump to content
  • Advertisement
Sign in to follow this  
daniel_i_l

[.net] C# and std vectors

This topic is 4281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Equivalents: The .Net 2.0 equivalent is "List<T>", .Net 1.x is "ArrayList".

If you have Visual Studio, you should check out the 'Object Browser' (CTRL+ALT+J) and browse the namespaces for a while to become familiar with what's available.

If you actually need a real std::vector you would probably find it easier to use C++/CLI.

Share this post


Link to post
Share on other sites
The System.Collections namespace (and is it System.Collections.Generic in 2.0?) contains all the 'usual suspects' when it comes to dynamic data structures. The most direct comparator to std::vector, as mentioned already, is ArrayList or List<Whatever>.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!