0
How to place a string as condition of "if" statement?
Example: If (string = number); { Console.WriteLine("the result is true"); }
2 Respostas
+ 4
In if condition you assigning string=number this is not valid in if u have to give condition only . You cannot assign values in if condition