August 2017
Beginner
566 pages
12h 34m
English
Now switch to the Design view, and double-click on TextBox. This generates the event handler, and here you'll create your code. But first, right above it, we will create a method, as shown as follows. A method is simply a chunk of code. Usually, it has a very definite purpose that is expressed very clearly through the name of the method:
private static double GetIncreasedValue(double x)
Let's begin with some of the requirements. First, we start with private, and the fact that this is private indicates that this method can be called only within the code that you see; it cannot be accessed by code, for example, in other programs. After private, we put static. The word static in this context means that you can call the method. ...
Read now
Unlock full access