Hello I am new to C# and I am currently translating a program from C++ to C#...and I was wondering whether vectors exist in C#...I have looked in my book and also online but I am unable to receive any help.
Thanks in advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
PJ MartinsPosted Jun 24, 2010, 12:27 PM
Sam HobbsPosted Jun 27, 2010, 9:30 PM
Ibrahim ErsoyPosted Jun 27, 2010, 4:55 PM
float x, y, z;
x = 10.0f;
y = 20.0f;
z = 30.0f;
float[, ,] multidim = new float[1, 2, 2];
multidim[0, 0, 0] = x;
multidim[0, 1, 0] = y;
multidim[0, 0, 1] = z;
Hope this helps.