Is there an equivalent object type for Actionscript’s Vector in C#? If not, what is would generally be used?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the ActionScript® 3.0 Reference for the Adobe® Flash® Platform:
The equivalent class in .NET is the generic List<T> Class.
From MSDN:
The element’s type is designated by the generic type parameter
T. So, for example, a “Vector with base type String”Vector.<String>in Flash would be a “List of X”List<string>in C#.Example: