10 Replies
look I am gonna explain my problem right
So I need to make a console calculator and he said to use contain and split
This is what I have but it doesn't work because I have no idea how I need to use the split

You're completely ignoring types here I see
thats... not good
please explain
Convert.ToInt32
expects a string
you are giving it a string[]
these are not the same, agreed?yes
so what
string.Split
does is split a single string into an array of stringsohhh
so getal1 is supossed to be an array?
s
5+10
split by +
would result in [5,10]
yes
ohhhh
I get it now
thank you
I am gonna try it one sec
ive got it
bunny