It definitely is an answer, so you should not vote to delete it.
If you feel there are issues with it, commenting and/or downvoting are appropriate.
I base this on, among other things, moderator statements on similar questions:
Reviewing Low Quality Posts - Answers without explanationReviewing Low Quality Posts - Answers without explanation
Save your delete votes for content that gives a link without explanation, or has absolutely no relation to the question being asked, or is otherwise unsavory content. – jmac
Flag 'Try This: {code}' Answers as "Very Low Quality"?Flag 'Try This: {code}' Answers as "Very Low Quality"?
VLQ basically means "unsalvageable." It doesn't apply to "try this {code}" answers. – Robert Harvey