Solved

Private Property x vs. Private Property x()

Posted on 2013-05-30
2
185 Views
Last Modified: 2013-05-30
What's the difference between
Private Property x As MyClass

Open in new window

and
Private Property x() As MyClass

Open in new window

Do the () make any difference?
0
Comment
Question by:deleyd
2 Comments
 
LVL 25

Accepted Solution

by:
clockwatcher earned 100 total points
ID: 39208485
It makes a big difference.  The parenthesis indicate that it's an array.  

Property x as MyClass ' x is a single MyClass instance
Property x() As MyClass 'x is an array of MyClass instances

http://msdn.microsoft.com/en-us/library/x397t1yt%28v=vs.80%29.aspx
0
 

Author Closing Comment

by:deleyd
ID: 39208560
Good to know!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do sunrise and sunset times change with altitude 14 38
VB.NET 2008 Winforms Signing 13 33
VB.Net. Reading xml value 6 30
vb.net convert long time to mm:ss 23 13
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question