Put it this way. I was offered 3x my salary to move to NYC to do IT for a bank. Cost of living would have made it pointless.
If you plan on living ON Manhattan in a half decent section, you better be making $80-$100,000 a year. Don't even think about owning a car either. Parking can cost up to $20k a year alone. Otherwise, you will probably live in Brooklyn or Queens and take the train in like mostly everyone else.
IE: My grandparents have had the same apartment in the village for 45+ years. They pay $550 a month in rent. Their neighbors across the hall pay $1700 a month.
Get the stars out of your eyes. NYC is not special and isn't a great place to live. Talk to any native new yorker and they will tell you they can't wait to get out. Anyone who says they love NYC didn't grow up there.
San Francisco is the most expensive city to live in, but Manhattan is #2.