H
Herfried K. Wagner [MVP]
* "Tiraman said:I have 2 Questions About Using Enum
1) i have the following Enum under my class but if i need to use it i must
use it like this
ConstantsFileSystem.CREATE_FILE
how can i use it just by the const name by doing like this CREATE_FILE
Public Enum ConstantsFileSystem
CREATE_FILE = 0
APPEND_FILE = 1
OVERWRITE_FILE = 2
End Enum
'Imports ConstantsFileSystem' on top of the file in which you want to
use the constants without qualifying them (I am not sure that this makes
much sense).
2) is it good to use Enum for public params which i need to use all over my
Assemblies ? (if not please recommend a better way)
Why not?