Hello everyone,
I want to check whether the ip is DC or DR. I’m storing the starting of IP address as a array which should be DC or DR.
Now i have to compare the string IP with stored Dc/Dr array.
How do i do it in IF conditions without using for loop.
I tried string.StartsWith(stringArray) but it does not work.