TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mark Billingsley
NA
2
456
Arrays aliasing a portion.
Oct 14 2019 3:12 PM
Hello,
I am new to C# but I have been researching a lot before posting. Here is my issue which I have not found an open source answer to and I am hoping to resolve.
I have an array that is 20 rows by 5 columns. It is static in size.
In the rows there is bar data from a stock market chart.
Layed out as follows.
Column
0 = Time
1 = Open
2 = High
3 = Low
4 = Close
This will be update through out the day.
I want to create and alias (not sure if this is the right word) for the following data block in order to analyse further elswhere.
I want to reference the "Close" column the last 10 rows only. I do not need the other columns nor do I need anything below the 10 entry at this time. I would like to create a constant or some other way of idenfying easily this block which will get passed to other sections of coding that I am working on.
Thank you
Reply
Answers (
1
)
Arrays and collection when we are using in real time project
find the values in a json object starting with one value