+ 1

label1 + label2 output to label3

Hi, is label1, label2, label3, in the first two recorded numbers 10 and 11, do label3 need to print their sum?

29th Feb 2020, 9:28 PM
olmtvck
olmtvck - avatar
3 Respostas
+ 3
Try this: int label1num; int label2num int.TryParse(label1.text, out label1num); int.TryParse(label2.text, out label2num); label3.text = (label1num+label2num).ToString();
29th Feb 2020, 10:26 PM
_yaroslavv [online_everyday]
_yaroslavv [online_everyday] - avatar
0
The question is how to output sum of two numbers into label3 or what?
29th Feb 2020, 9:57 PM
_yaroslavv [online_everyday]
_yaroslavv [online_everyday] - avatar
29th Feb 2020, 10:19 PM
olmtvck
olmtvck - avatar