摘要: <style type="text/css">*{ margin:0px; padding:0px;}#a{ width:100px; height:100px; top:50px; left:40px; background-color:#0F0; position:relative;}/*abs 阅读全文
posted @ 2016-08-14 14:44 王站住 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 通过外部使用absolute进行定位 <style>.a{ width:1148px; height:60px; border:1px solid black; left:100px; top:10px; position:absolute;}.b{ width:80px; height:550px 阅读全文
posted @ 2016-08-12 15:05 王站住 阅读(120) 评论(0) 推荐(0) 编辑
摘要: <form>账号:<input type="text" value="789"/><br />密码:<input type="password" value=""/><br />登陆:<input type="button" value="登陆"/><br /><input type="submit 阅读全文
posted @ 2016-08-10 16:24 王站住 阅读(98) 评论(0) 推荐(0) 编辑
摘要: //int a = 5; //a++; //++a; //Console.WriteLine(a); //Console.ReadLine(); //int a = 5; ////int b = ++a;//a=a+1;int b=a; ////int c = a++;//int c=a;a=a+1 阅读全文
posted @ 2016-08-08 16:10 王站住 阅读(88) 评论(0) 推荐(0) 编辑
摘要: public int ganyang(int i) { int sum=0; if(i==7) { return 2; } sum = (ganyang(i+1) + 1) * 2; return sum; } public int chitao(int i) { int sum = 0; if ( 阅读全文
posted @ 2016-08-08 16:09 王站住 阅读(65) 评论(0) 推荐(0) 编辑
摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>里约奥运会</title>(网页的网页标题)</h 阅读全文
posted @ 2016-08-08 15:57 王站住 阅读(159) 评论(0) 推荐(0) 编辑
摘要: // struct Fenshu // { // public ArrayList al; // } // //结构体 // struct Student // { // public int no; // public string name; // public string sex; // p 阅读全文
posted @ 2016-08-03 16:59 王站住 阅读(187) 评论(0) 推荐(0) 编辑
摘要: //使用 out传值的时候仅仅是将变量名(箱子)拿过来 //并不会管之前是什么值 //函数体结束之前必须对该out的参数进行赋值,否则报错(不好意思还回去) //out传值,可以进行多个值的传回 public void Jia(int b,out int c) { //c += 3;//c=c+3; 阅读全文
posted @ 2016-08-03 16:55 王站住 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 注释/// <summary> /// 请输入邮箱格式,判断邮箱格式是否正确 /// </summary> /// <param name="args"></param> //格式一 无参无返 public void youxiang() { Console.Write("请输入邮箱:"); str 阅读全文
posted @ 2016-07-31 16:47 王站住 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 一.stack集合 //初始化 干草堆 stack集合 //先进后出,一个一个的赋值,一个一个的取值 //Stack ss = new Stack(); ////添加元素(推送) push //ss.Push(1); //ss.Push(2); //ss.Push(3); //ss.Push(4); 阅读全文
posted @ 2016-07-30 16:51 王站住 阅读(105) 评论(0) 推荐(0) 编辑