次の C# ソースがあります。
public static bool PeulaRashit()
{
int days;
double totalPayForService;
Console.WriteLine("Enter number of days");
days = int.Parse(Console.ReadLine());
if (days== 999)
return false;
totalPayForService = TotalService(days);
TotalPyament(totalPayForService, days);
return true;
}
static void Main(string[] args)
{
while (.....) //what should I do here?
{}
}
PeulaRashit
になるまでメソッドを繰り返してほしいfalse
。while
私の質問は、それが起こるための状態はどうあるべきですか?