You just include the following lines before your code. I too did a big research on this and finally I got!! 🙂
[code language="csharp"] //your code comes here [/code]
Worpress give us the facility to avoid worrying about code highlighting. If your code is in between these blocks then it will automatically render as per the language you specified. It can support many lanugages.
Some of them are..
matlab (keywords only)
For more information see this link