- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 43字
- 2021-07-02 15:29:23
Setting up the variables
Next, inside the event handler for Button1_Click, we'll make two variables: x (which we set to 10), and y, which equals 25. So, enter the following between the set of curly braces:
double x = 10, y = 25;