class
类class,封装包,类的定义(数据结构)
class test
{
public string str;
}
如何使用这个类,访问内部成员函数,实例化
test t=new test; //调用FB函数块 test,调用的FB块重新定义一个名称 t
t.str=“aa” // 为test 函数中str 成员赋值
test t1=new test;
t1.str=“aa”
初步理解
class
类class,封装包,类的定义(数据结构)
class test
{
public string str;
}
如何使用这个类,访问内部成员函数,实例化
test t=new test; //调用FB函数块 test,调用的FB块重新定义一个名称 t
t.str=“aa” // 为test 函数中str 成员赋值
test t1=new test;
t1.str=“aa”
初步理解