Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      '// 1. Parse the expression string once to create a reusable object.
      '//var expr = uc.Parse("5 * 10");
      Using expr As New uCalc.Expression("5 * 10")
         
         '// 2. Evaluate the pre-parsed object as many times as needed.
         Console.WriteLine(expr.Evaluate())
         Console.WriteLine(expr.Evaluate())
         
      End Using '// The expression object is automatically released here.
   End Sub
End Module