C#输出本月的月历
发布时间:2013-09-25 16:35  来源/作者:藕码网 分类:自定义函数
					
						TAG标签: 
											
					
					- 代码详情
 - 用户评论
 - 相关代码
 
- 
									
用c#输出本月的月历:
代码片段:
public static void PrintCalender(int year, int month) { formatDate fd = new formatDate(year, month); string calender = @"SU MO TU WE TH FR Sa {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0} {0}"; calender = string.Format(calender, fd).TrimEnd(); Console.WriteLine(calender); Console.WriteLine("实际应用需修改,按回车退出。 keelyi.com"); Console.ReadLine(); } - 
									最新评论
 
菜单/ Menu
				
			





							
