I don't understand why everyone is suggesting that a letter of resignation is the best way to go about this.
Since when did it become unacceptable to just approach your boss/supervisor and tell him face to face? That's the way I would want my employees to go about it if I were a manager. Think about it, if you're sitting there having your morning breakfast and one of your employees slips you a letter saying he's quitting (like in the example someone posted about their uncle or something), I dunno about you but I would be like "what the hell?" I'd much rather an employee talk to me head on and say "I'd like to give you my 2 weeks notice today because I have found a new job that will let me explore new opportunities for myself...blah blah blah", rather than hand my some letter.