I am a beginner and I am doing a calculator with a console application in C#, I want to know how to make a string includes all the texts and words.
For example :
_ Enter the first number!
: stack
_ Error, cannot use texts in division!
So, I want to make a code like that
If (firstnumber == string) (not int or double){
Console.WriteLine("Error, cannot use texts in division");
}
Please, help me.
Thanks