Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error Identifier Expected Pin
Member 833684816-Jun-12 21:52
Member 833684816-Jun-12 21:52 
GeneralRe: Error Identifier Expected Pin
Richard MacCutchan16-Jun-12 22:09
mveRichard MacCutchan16-Jun-12 22:09 
GeneralRe: Error Identifier Expected Pin
Abhinav S16-Jun-12 22:45
Abhinav S16-Jun-12 22:45 
GeneralRe: Error Identifier Expected Pin
Richard MacCutchan17-Jun-12 0:43
mveRichard MacCutchan17-Jun-12 0:43 
Questionconverting an audio to text Pin
PramodKumar378716-Jun-12 19:58
PramodKumar378716-Jun-12 19:58 
AnswerRe: converting an audio to text Pin
Sandeep Mewara16-Jun-12 21:02
mveSandeep Mewara16-Jun-12 21:02 
AnswerRe: converting an audio to text Pin
Abhinav S16-Jun-12 22:53
Abhinav S16-Jun-12 22:53 
QuestionConvert Text to Math operator Pin
ASPnoob16-Jun-12 18:45
ASPnoob16-Jun-12 18:45 
Hello all,
I'd like to know if there is a method in C# that I can call to convert texts into math operators. For instance if I type the text +, -, *, or / into a text box, is there a way to convert them into math operators that the compiler can understand. If there is such a function, if I type a string like 5 - 1 into a text box then call that function, it will convert the text "-" into the minus sign.

I know I will need to convert the text 5 and 1 in the string into numbers before the expression can be evaluated. All I need is to know how to turn text symbols into those four operators and I think I can do the rest. I will try to write functions to handle more complex expressions later. Please point me in the right direction, thanks for your time.

modified 17-Jun-12 5:41am.

AnswerRe: Convert Text to Math operator Pin
Dave Kreskowiak16-Jun-12 19:12
mveDave Kreskowiak16-Jun-12 19:12 
AnswerRe: Convert Text to Math operator Pin
Abhinav S16-Jun-12 22:54
Abhinav S16-Jun-12 22:54 
Questiondata set Pin
vipul.it@in.com16-Jun-12 0:02
vipul.it@in.com16-Jun-12 0:02 
AnswerRe: data set Pin
Richard MacCutchan16-Jun-12 0:14
mveRichard MacCutchan16-Jun-12 0:14 
AnswerRe: data set Pin
Sandeep Mewara16-Jun-12 7:00
mveSandeep Mewara16-Jun-12 7:00 
AnswerRe: data set Pin
PIEBALDconsult16-Jun-12 8:41
mvePIEBALDconsult16-Jun-12 8:41 
AnswerRe: data set PinPopular
Dave Kreskowiak16-Jun-12 10:08
mveDave Kreskowiak16-Jun-12 10:08 
GeneralRe: data set Pin
DaveyM6916-Jun-12 12:56
professionalDaveyM6916-Jun-12 12:56 
GeneralRe: data set Pin
Dave Kreskowiak16-Jun-12 15:09
mveDave Kreskowiak16-Jun-12 15:09 
AnswerRe: data set Pin
Keith Barrow16-Jun-12 11:56
professionalKeith Barrow16-Jun-12 11:56 
AnswerRe: data set Pin
kishhr22-Jun-12 8:18
kishhr22-Jun-12 8:18 
QuestionContinuous checking processes Pin
GrooverFromHolland15-Jun-12 23:48
GrooverFromHolland15-Jun-12 23:48 
AnswerRe: Continuous checking processes Pin
Richard MacCutchan16-Jun-12 0:15
mveRichard MacCutchan16-Jun-12 0:15 
GeneralRe: Continuous checking processes Pin
GrooverFromHolland16-Jun-12 7:20
GrooverFromHolland16-Jun-12 7:20 
GeneralRe: Continuous checking processes Pin
Richard MacCutchan16-Jun-12 21:27
mveRichard MacCutchan16-Jun-12 21:27 
GeneralRe: Continuous checking processes Pin
GrooverFromHolland17-Jun-12 0:38
GrooverFromHolland17-Jun-12 0:38 
GeneralRe: Continuous checking processes Pin
Richard MacCutchan17-Jun-12 1:03
mveRichard MacCutchan17-Jun-12 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.