G
Guest
Hi,
VB6 permitted the use of the space character in naming when enclosed with square brackets. This was particularly useful when creating enumerations such as:
Enum FruitTypes
[Apples and Oranges]
[Bananas and Pears]
End Enum
I would like to do the equivalet in VB.NET. Not only would this be useful for enumerations, but also for property names used in the property grid control.
VB.NET does not seem to support use of the square brackets as in VB6. However, NO WHERE do I see whether there is an alternate way of doing this. NO WHERE do I see it documented what characters are allowed in VB.NET naming.
Does anyone know if this is possible in VB.NET. Also, can someone point me to something that documents what characters are permitted in VB.NET naming?
Thanks!
- Bob
VB6 permitted the use of the space character in naming when enclosed with square brackets. This was particularly useful when creating enumerations such as:
Enum FruitTypes
[Apples and Oranges]
[Bananas and Pears]
End Enum
I would like to do the equivalet in VB.NET. Not only would this be useful for enumerations, but also for property names used in the property grid control.
VB.NET does not seem to support use of the square brackets as in VB6. However, NO WHERE do I see whether there is an alternate way of doing this. NO WHERE do I see it documented what characters are allowed in VB.NET naming.
Does anyone know if this is possible in VB.NET. Also, can someone point me to something that documents what characters are permitted in VB.NET naming?
Thanks!
- Bob