I've seen
Code:
myArray = {"element 1", "element 2", "element 3"}
used many times in
vb and
vb.net, and have even used them myself to initialise arrays. Even the
vb.net forms designer uses them. However, I don't know the 'hard and fast' rules for using them - when they work, it's great, but sometimes I have to do assignment line by line. I've looked in several
vb.net books and tried to search on google, but no cigar as yet. Does anyone know the rules / know of a site detailing the rules for curly braces?
Thanks