自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 继承与base

继承用法允许类(被称为‘派生类’)继承其他类(‘基类’)中的成员继承过来的成员可以在派生类中被重用,扩展与修改在派生类中需要被修改的成员需要在基类中以‘virtual’修饰,在派生类中需在被修改的成员处加上‘override’派生类可以继续被其他派生类继承写法 public class Bird : Animal { //派生类为Bird,基类为Animal } base

2015-08-14 21:04:29 422

原创 class中的field,property,method,constructor

creating class  public class Person { //empty class is created //field,property,method```to be added here } setting field, property, constructor and method public class Person { publi

2015-08-12 14:23:29 299

原创 C# class and struct

"A class or struct definition is like a blueprint that specifies what the type can do. An object is basically a block of memory that has been allocated and configured according to the blueprint. A

2015-08-12 14:05:03 194

原创 python的list 和 tuple

基本是与php的数组相同 list list的内容可变(list内的元素可变) tuple  tuple的内容不可变(tuple内的元素不可变,不过元素其本身的内容可以改变) 需在定义的时候就确定tuple内元素的

2015-02-04 10:21:18 188

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除