摘要: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 // Input strings. 6 const string s1 = "samuel allen"; 7 const string s2 = "dot net perls"; 8 const string s3 = "Uppercase first letters of all words in the string."; 9... 阅读全文
posted @ 2013-11-05 12:45 宁静.致远 阅读(4280) 评论(0) 推荐(0) 编辑
摘要: 1 private void BtnOpenUrl_Click(object sender, EventArgs e) 2 { 3 if (txtUrl.Text != "") 4 { 5 MywebBrowser.Url = new Uri(txtUrl.Text); 6 } 7 } 8 9 private void BtnGetCookie_Click(object sender, EventArgs e)10 ... 阅读全文
posted @ 2013-11-05 12:30 宁静.致远 阅读(16917) 评论(0) 推荐(1) 编辑
摘要: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 int n = m(20, 15); 6 System.Console.WriteLine("最小公倍数为:" + n.ToString()); 7 System.Console.Read(); 8 } 9 10 static int f(int a, int b)//最大公约数 11 {12 ... 阅读全文
posted @ 2013-11-05 12:09 宁静.致远 阅读(5301) 评论(1) 推荐(0) 编辑