Question: I'm using windows Form c# I'm currently using this variable 'price' which is currently on my form 1, I also want to use it in

I'm using windows Form c#

I'm currently using this variable 'price' which is currently on my form 1, I also want to use it in my form 2. Hw do I do that?

double price = (double)edPrice.Value;

price = price * (1 + k * (random.NextDouble() - 0.5));

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!