Is acting like you don't like a girl a good way to get her to like you? if so how?

people always say just don't act like you like her because the girls we don't like always seem to like us but not the ones we do like, so you should treat the ones you like just like the ones you don't like but does this work?
Is acting like you don't like a girl a good way to get her to like you? if so how?
Post Opinion