Last post Jun 09, 2015 06:09 PM by David Anton
Member
32 Points
203 Posts
Jun 09, 2015 03:33 PM|rspiet|LINK
I see two different ways of declaring arrays in vb.net: Dim i() As Integer and Dim i as Integer(). What is the difference between these two?
Contributor
2132 Points
675 Posts
Jun 09, 2015 06:09 PM|David Anton|LINK
Absolutely no difference.
For fixed-size arrays, you can only use the first form: e.g., Dim i(5) As Integer
Member
32 Points
203 Posts
Difference Between Dim i() As Integer and Dim i as Integer()
Jun 09, 2015 03:33 PM|rspiet|LINK
I see two different ways of declaring arrays in vb.net: Dim i() As Integer and Dim i as Integer(). What is the difference between these two?
Contributor
2132 Points
675 Posts
Re: Difference Between Dim i() As Integer and Dim i as Integer()
Jun 09, 2015 06:09 PM|David Anton|LINK
Absolutely no difference.
For fixed-size arrays, you can only use the first form: e.g., Dim i(5) As Integer
http://www.tangiblesoftwaresolutions.com
Instant C# - VB to C# Converter
Instant VB - C# to VB Converter