摘要: 万物皆对象三大特性,五大原则 封装 继承 多态 将现实生活中的实际存在的东西,抽象提取成程序中的类,对类进行统一的操作 好处:1、程序的结构非常清晰2、易于维护,便于功能扩展3、让程序更加健壮 都是以 类 为基本单元 从事面向对象编程的人按照分工来说,可以分为“类库的创建者”和“类库的使用者”。使用 阅读全文
posted @ 2016-09-06 17:01 xiaobao5161 阅读(127) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections; namespace 练习0 阅读全文
posted @ 2016-09-06 11:43 xiaobao5161 阅读(101) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-08-10 16:25 xiaobao5161 阅读(194) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-08-10 16:24 xiaobao5161 阅读(415) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-08-08 17:02 xiaobao5161 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 里约奥运会 今天可能会有雷 暴! 格式控制标签 文字加粗方式一:b标签 文字加粗方式二:strong标签 文字倾斜方式一:i标签 文字倾斜方式二:em标签 文字加下划线:u标签123 center,居中标签,默认前后若有其他,执行前后换行,保证自身是一个整体,然后居中显示456 内容容器标签: 123p标签,段落标签。前后若有其他,执行前后换行并且空开一行,保证自身是... 阅读全文
posted @ 2016-08-08 17:00 xiaobao5161 阅读(169) 评论(0) 推荐(0) 编辑
摘要: public string qu(string ss) { string s1 = "" ; string[] s = ss.Split(); for (int i = 0; i < s.Length; i++) { s1+=s[i]; } return s1; } //这是一个可以去除字符串中空格 阅读全文
posted @ 2016-08-06 13:55 xiaobao5161 阅读(95) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections;namespace 随笔{ 阅读全文
posted @ 2016-08-04 08:22 xiaobao5161 阅读(163) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 练习1 { //要求写一个函数判断体重是否超标 阅读全文
posted @ 2016-07-31 16:30 xiaobao5161 阅读(277) 评论(0) 推荐(0) 编辑