Beginning C# 7 Hands-On:Advanced Language Features
上QQ阅读APP看书,第一时间看更新

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;