vb.net 怎样实现自定义类型啊
Type WorkerType
No as integer
Name as string *20
Pay as single
end Type
这是vb里定义自定义类型的语句,vb.net怎么实现在.请通俗点的说,我很笨的,还有,不希望在哪里搜来一些无用的东西帖上,在这里谢谢大家了
参考答案:Class WorkerType
Dim No As Integer
Dim Name As String
Dim Pay As Single
End Class
Type WorkerType
No as integer
Name as string *20
Pay as single
end Type
这是vb里定义自定义类型的语句,vb.net怎么实现在.请通俗点的说,我很笨的,还有,不希望在哪里搜来一些无用的东西帖上,在这里谢谢大家了
参考答案:Class WorkerType
Dim No As Integer
Dim Name As String
Dim Pay As Single
End Class