A
Antony
When I declared a constant in a class like:
public Const attr As ClassB = nothing
(ClassB is the user-defined Class)
I get the compiler error: Constants must be an intrinsic or enumerated type,
not a class, structure, or array type.
So how can I declare a constant value of type ClassB in this case? Thanks!
public Const attr As ClassB = nothing
(ClassB is the user-defined Class)
I get the compiler error: Constants must be an intrinsic or enumerated type,
not a class, structure, or array type.
So how can I declare a constant value of type ClassB in this case? Thanks!