摘要:
getter,setter 设置变量的属性时,我们通常会对数据进行封装,这样就可以增加了数据访问限制,增加了程序可维护性。而实现方法就是:用private去修饰一个变量,然后再用setter方法去设置该变量的值,然后在用getter方法去调用该变量的值。 public class Student{ 阅读全文
摘要:
problem: unable to generate assets to build and debug Added omnisharp.json file to the root folder with below content: { "msbuild": { "useBundledOnly" 阅读全文