Question: This is in C# Create a Stock Class: this class will represent a stock. You need to decide the member variables of this class based

This is in C#

Create a Stock Class: this class will represent a stock. You need to decide the member variables of this class based on the input file. This input file is given to you and it is a comma-separated-value file (.csv). This class must have a Date type member variable. Use properties for all of the private member variables/fields. Since I can't upload the actual .csv file the best I can do is use a picture of the file.

This is in C# Create a Stock Class: this class will represent

9 ######## 1 Date Open High Low Close Adj Close Volume 2 1/3/2017 116.03 117.84 115.51 116.86 116.86 20663900 3 1/4/2017 117.55 119.66 117.29 118.69 118.69 19630900 4 1/5/2017 118.86 120.95 118.32 120.67 120.67 19492200 5 1/6/2017 120.98 123.88 120.03 123.41 123.41 28545300 6 1/9/2017 123.55 125.43 123.04 124.9 124.9 22861600 124.82 125.5 124.28 124.35 124.35 17324600 124.35 126.12 124.06 126.09 126.09 18356500 125.61 126.73 124.8 126.62 126.62 18653900 10 ######## 127.49 129.27 127.37 128.34 128.34 24884300 128.04 128.34 127.4 127.87 127.87 15228000 128.41 128.43 126.84 127.92 127.92 13145900 128.23 128.35 127.45 127.55 127.55 12195500 128.1 128.48 126.78 127.04 127.04 19097200 127.31 129.25 126.95 128.93 128.93 16593600 129.38 129.9 128.38 129.37 129.37 15162700 130 131.74 129.77 131.48 131.48 18731300 131.63 133.14 131.44 132.78 132.78 20020100 132.68 132.95 131.08 132.18 132.18 19539500 20 ######## 131.58 131.58 129.6 130.98 130.98 18956100 21 ######## 130.17 130.66 129.52 130.32 130.32 19790500 22 2/1/2017 132.25 133.49 130.68 133.23 133.23 50139800 23 2/2/2017 133.22 135.49 130.4 130.84 130.84 54366400 24 2/3/2017 131.24 132.85 130.76 130.98 130.98 24804900 25 2/6/2017 130.98 132.06 130.3 132.06 132.06 17058500 26 2/7/2017 132.24 133 131.66 131.84 131.84 14596400 27 2/8/2017 132.6 134.44 132.44 134.2 134.2 22390600 28 2/9/2017 134.49 134.5 133.31 134.14 134.14 16470600 15 #

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!