Solved

Private Property x vs. Private Property x()

Posted on 2013-05-30
2
179 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now