Going to work isn't always so bad, especially if you have a crush on a coworker. The challenge is how to get this guy to like you. It isn't as impossible as it seems and sparks in the workplace can be mutual. It's possible to get this guy at work to like you back. As long as you're careful and maintain your work and productivity, you can get your work crush to go out with you.
Show him your accomplishments without being cocky. Nobody likes someone who is always bragging about all that they do for the company. The competitive side of anybody is rarely the best one to impress a crush. Yet, working hard in his presence and working late to show how much effort you think the company is worth is sometimes impressive. This will leave an impression.
to go for a quick bite to eat when you both work late. This can be said in a manner that is not at all threatening or as though you are asking him out on a date. Simply mention you needing a pick-me-up. Giving him a chance to get to know you away from the work setting in a casual environment can make him really fall for you. He will see the real you.
Challenge him to a friendly competition. If you wait tables together, see who can sell the most bottles of wine. If you are writers, see who can write the most compelling article on the same topic. Make it something fun so that it doesn't turn into a pressure cooker situation. Having fun with you in the work place can open his eyes to the person you are instead of simply seeing his working co-worker.