How to define one variable is not equal to another

Please tell how to declare one variable not equal to another variable

Hey @dhanu_lokhande ,
Can you elaborate? What is your requirement?



Can you elaborate with specific example?


hi…I have one variable name as strMonth which stores value like June 2022 and so on
I want to select date from calender so that I Capture the Text April 2022 and so on
until they match click goes next
So If strMonth is not equal to strcalender click > next…
I want to mention this in while loop
but i got error as cS15255 invalid expression
how to declare condition as not equal to


Do you need inequality operator? If so, it’s != in C#, as the following.


1 Like

ok thank you

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.