首页
IT
登录
6mi
u
盘
搜
搜 索
IT
【c#学习笔记】在一个构造方法中调用另一个构造方法的写法
【c#学习笔记】在一个构造方法中调用另一个构造方法的写法
xiaoxiao
2021-03-25
56
public Vector3D() : this(1f, 1f, 1f)//用this来调 { } public Vector3D(float x, float y, float z) { this.x = x; this.y = y; this.z = z; }
转载请注明原文地址: https://ju.6miu.com/read-36381.html
技术
最新回复
(
0
)