title: How to set a 2 dimensional array as a property?
body: <p>I want to set a 2 dimensional array as a property but I keep getting multiple errors when I try.</p>
  
  <p>This is what I just tried. The comments are the errors.</p>
  
  <pre><code>Dim _magnitude(,) As Integer
  Public Property magnitude() As Integer
      Get
          Return Me._magnitude 'Value of type '2-dimensional array of Integer' cannot be converted to 'Integer'
      End Get
      Set(ByVal value As Integer)
          Me._magnitude = value 'Value of type 'Integer' cannot be converted to '2-dimensional array of Integer'
      End Set
  End Property
  </code></pre>
  
  <p>I'm sure the answer is really obvious, I'm new to vb.net.</p>