Hi,I write the following code:
'MyStruct.vb
Module MyStruct
Structure Student
Public num As Integer
Public name As String
Public mark As Integer
End Structure
Public StuInfo() As Student New Student(-1) {}
End Module
But " Public StuInfo() As Student New Student(-1) {}" isn't passed by compiler. I don't know where is the error. Thanks a lot.