get Max and Min from Array


 Dim data() As Int16 = {1, 2, 3, 5, 6, 7, 3}
  Dim C As Integer = data.Max()
        Dim D As Integer = data.Min()

Comments

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)