コード例 #1
0
 static void Main(string[] args)
 {
     Console.WriteLine(Quater.GetFirstMonth(DateTime.Now.Month));
     Console.WriteLine(Quater.GetLastMonth(DateTime.Now.Month));
     Console.ReadLine();
 }
コード例 #2
0
 static void Main(string[] args)
 {
     Console.WriteLine(Quater.GetFirstMonth(DateTime.Now.Month));    // Outputs october
     Console.WriteLine(Quater.GetLastMonth(DateTime.Now.Month));     // Outputs september
     Console.ReadLine();
 }