Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
DN
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Data; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here List<string> q = new List<string>(); DataTable dt = new DataTable(); double Value; q.Add("4+2"); q.Add("4+2/2*4"); q.Add("3*0-2"); foreach (string member in q) { Value = Convert.ToDouble(dt.Compute(member, null)); Console.WriteLine(Value); } } } }
run
|
edit
|
history
|
help
0
sortowania przez wstawienie
MyTime calculation
TesteSwitch
COMPLEX NUMBER
circular linked list
extrefGenerate
divisão
events
UF pc
test code