Thanks Renju for sharing the information. If you copy paste code from Visual Studio also we are able to get the Syntax highlighting, but it creates lot of HTML and ugly looks.
But there is some scripts available (please check the previous replies), that we only need to include in the Pages, so we can get the Syntax highlighting automatically. If you are using / used wordpress blogs, for syntax highlighting C# code simply put [SOURCE CODE="csharp"], it will highlight the C# code. I was asking for something like that.
THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.