Var a = 1 + "one"; is ok in Javascript, but, not ok in C#. If you think it is ok, then, use Javascript.