title: How can I parse math operator from string in c#
body: <p>I've a dropdown like this</p>
  
  <pre><code>                    @Html.DropDownList("Operator", new List&lt;SelectListItem&gt;
                  {
                      new SelectListItem() {Text = "/", Value = "/", Selected = true},
                      new SelectListItem() {Text = "*", Value = "*"},
                      new SelectListItem() {Text = "+", Value = "+"},
                      new SelectListItem() {Text = "-", Value = "-"}
                  }, new {@Class = "form-control", @Id = "Operator"})
  </code></pre>
  
  <p>In my action method I want to use var1 Operator var2.
  Suppose 10 Operator  15 = 25 when Operator = "+"
  Is it possible?</p>