Re: try not doing something?
Both sentences are correct; so are others:
Originally Posted by nima_persian
Try using margarine - Use margarine, and see if it works.
Try to use margarine - See if it is possible for you to use margarine; make the attempt.
Try not using margarine - Do not use margarine, and see if this works.
Don't try using margarine - Do not use margarine; it will not work.
Try not to use margarine - Do your best to avoid using margarine.
Don't try to use margarine - Do not make the attempt.
Please do not edit your question after it has received a response. Such editing can make the response hard for others to understand.