With a parameter prefix, you can expose the parameter with a meaningful name.
有了参数前置字元,就可以用有意义的名称来公开参数。
If a parameter has the var keyword, a public writer method is also generated with the parameter’s name as a prefix, followed by _=.
如果参数有一个var关键字,一个公有的写方法会被自动生成,并且名字为参数名加下划线等号(_=)。
If a parameter has the var keyword, a public writer method is also generated with the parameter’s name as a prefix, followed by _=.
如果参数有一个var关键字,一个公有的写方法会被自动生成,并且名字为参数名加下划线等号(_=)。
应用推荐