title: sum of function in vb.net
body: <p>I want to understand what means this code </p>
  
  <pre><code>Dim myValue As Double = range.Sum(Function(x) x.Positive)
  </code></pre>
  
  <p>range is a  List(Of Money).
  I have to mention That I have this Private Class</p>
  
  <pre><code>Private Class Money
          Private m_Positive As Double
          Private m_Negative As Double
          Public Property Positive As Double
              Get
                  Return m_Positive
              End Get
              Set(value As Double)
                  m_Positive = value
              End Set
          End Property
          Public Property Negative As Double
              Get
                  Return m_Negative
              End Get
              Set(value As Double)
                  m_Negative= value
              End Set
          End Property
      End Class
  </code></pre>