C#
cccccc9955
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C# Class - Field, Property, Method
Classes Field, property, methods are members in classes class Forest { //A constructor with parameters are built to creat object and set those values at once public Forest(string name, string biome, int area) { this.Name = name; this.Biome = biome;原创 2020-10-06 09:05:20 · 312 阅读 · 0 评论 -
C# - Method & Loop
Methods Method Declaration: the method name parameter types parameter order parameter names return type optional modifiers //y and z are optional parameters. static int AddSomeNumbers(int x, int y = 3, int z = 2) { return x + y + z; } Methods that do n原创 2020-10-05 18:54:41 · 284 阅读 · 0 评论
分享