Hello,
What is wrong in below check
((string.Equals(“Rimini”,in_City)) || (string.Equals(“Berlin”,in_City)))
Thanks
Hello,
What is wrong in below check
((string.Equals(“Rimini”,in_City)) || (string.Equals(“Berlin”,in_City)))
Thanks
In VB.NET or operator is or
. ||
operator is used in C#.
@callsaurabh Try like below
((string.Equals(“Rimini”,in_City)) OR (string.Equals(“Berlin”,in_City)))
Use Trim option if any extra spaces is present in beginning or ending it will be removed.
((string.Equals(“Rimini”,in_City.Trim)) OR (string.Equals(“Berlin”,in_City.Trim)))
Thanks @KannanSuresh
Thanks @Manjuts90