Sum With Array

Dim data() As Int16 = {1, 2, 3}
Dim X As Int32 = data.Sum(Function(y) y) ' This will Return 6 

Comments

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms - Change Colour of Navigation Bar (Page Title For Master-Detail Template)

Xamarin Forms : PopUp Page with RG.Plugins.Popup