我从三个变量中得到三个值.如何查看谁是最高号码谁是最低号码?
数字表示如下:
private int _score1;
private int _score2;
private int _score2;
Run Code Online (Sandbox Code Playgroud)
码:
Public int Highest
{
return the highest number here;
}
public int Lowest
{
return the lowest number here;
}
Run Code Online (Sandbox Code Playgroud)
我可以计算构造函数中的最高和最低数字吗?
我想知道如何将时间分成两个变量.
我得到这样的时间
string myTime = Console.ReadLine();
Run Code Online (Sandbox Code Playgroud)
如果我在12:14输入,我怎么能在一个变量中得到12而在另一个变量中得到14?