📜  c# 将时间添加到 datetime - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:22.235000             🧑  作者: Mango

代码示例2
DateTime date = DateTime.Now;
TimeSpan time = new TimeSpan(36, 0, 0, 0);
DateTime combined = date.Add(time);