R
Russell
I am extremly new to c# - I have been programming in VB6 for 9 years.
I am going to migrate a program that I created years ago in VB6 to C# (just
for fun! for those interested).
I have an object called a motor. This motor has a table (not an equation),
that has two parameters gallons per minute of fluid at a pressure. It has an
output of revolutions per minute at pounds per inch of torque.
These numbers are in a table, so I will need to extrapolate from the table
any intermediate values.
I will need to get maximum and minimum values.
I will have several motors.
Now my question - is this a class or a struct.
Motor A and Motor B will need to be inquired the same - but I will not
modify any thing about A or B, they are strictly driven by data in file Z.
So the fact that there is no modification of the object by the program is it
a struct?
I am going to migrate a program that I created years ago in VB6 to C# (just
for fun! for those interested).
I have an object called a motor. This motor has a table (not an equation),
that has two parameters gallons per minute of fluid at a pressure. It has an
output of revolutions per minute at pounds per inch of torque.
These numbers are in a table, so I will need to extrapolate from the table
any intermediate values.
I will need to get maximum and minimum values.
I will have several motors.
Now my question - is this a class or a struct.
Motor A and Motor B will need to be inquired the same - but I will not
modify any thing about A or B, they are strictly driven by data in file Z.
So the fact that there is no modification of the object by the program is it
a struct?