精彩人生

.Net 共享

2008年3月25日 #

冒泡排序算法

摘要: public void BubbleSort(int[] R) { int i,j,temp; //交换标志 bool exchange; for(i=0; i=i; j--) { if(R[j+1]<R[j]) //交换条件 { temp=R[j+1]; R[j+1]=R[j]; R[j]=temp; ... 阅读全文

posted @ 2008-03-25 17:14 roychen 阅读(144) 评论(0) 推荐(0) 编辑

c# 根据日期获取星期方法

摘要: protected void Page_Load(object sender, EventArgs e) { int m = System.DateTime.Today.Month; int y = System.DateTime.Today.Year; int d = System.DateTime.Today.Day; i... 阅读全文

posted @ 2008-03-25 17:06 roychen 阅读(5382) 评论(2) 推荐(0) 编辑

C# 根据日期获取星期方法

摘要: 阅读全文

posted @ 2008-03-25 17:01 roychen 阅读(0) 评论(0) 推荐(0) 编辑

导航