using uCalcSoftware; var uc = new uCalc(); // Explicit type definition uc.DefineVariable("explicitInt As Int = 123"); // Type inferred from the initial string value uc.DefineVariable("inferredStr = 'hello'"); // Type defaults to Double as no type or value is given var defaultVar = uc.DefineVariable("defaultVar"); Console.WriteLine($"explicitInt type: {uc.ItemOf("explicitInt").DataType.Name}"); Console.WriteLine($"inferredStr type: {uc.ItemOf("inferredStr").DataType.Name}"); Console.WriteLine($"defaultVar type: {defaultVar.DataType.Name}");