using System;
using System.Collections.Generic;

using System.Text;


namespace MYTest
{
class Program
{
static void Main(string[] args)
{

DateTime d;
d = DateTime.Now;
int a;
int b;
Console.Title = "第一堂课";
Console.WriteLine("请输入a的值,按回车");
Console.Write("a=");
a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("请输入b的值,按回车");
Console.Write("b=");
b = int.Parse(Console.ReadLine());
Console.WriteLine("a+b="+(a+b));
Console.WriteLine(d.ToString("yyyy-MM-dd hh:mm:ss:ms"));




Console.ReadKey();

 


}
}
}

相关文章:

  • 2021-09-09
  • 2022-01-10
  • 2021-10-17
  • 2021-06-17
  • 2021-06-28
  • 2021-06-07
  • 2022-12-23
  • 2022-01-12
猜你喜欢
  • 2021-07-11
  • 2021-05-19
  • 2021-12-08
  • 2021-07-01
  • 2021-10-20
  • 2021-12-28
  • 2021-07-24
相关资源
相似解决方案