- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 43字
- 2025-04-04 18:04:55
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;