在C#中发布一篇文章 [英] Posting a artical in C#

查看:64
本文介绍了在C#中发布一篇文章的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我发布一些实际上从visual studio复制c#代码的东西时。为什么它显示确切的代码预览我的意思是代码的颜色,如



Whenever I am postin something actually copying a c# code from visual studio. How come it shows the exact code preview I mean the color of the code like

catch (Exception ex)
        {
            dverror.InnerHtml = Utility.GetExceptionMessage(ex);
        }





..请在asp.net中给出一个关于它的教程



..please give a tutorial about that in asp.net

推荐答案

没机会! :笑:

它有效,因为已经付出了很多努力来确保它确实有效 - 这背后有一些严重的代码。这不是初学者的主题,或者可以很容易地归纳为教程。



为了更好的主意,从这里开始:关于语法突出显示的CodeProject文章 [ ^ ]
No chance! :laugh:
It works, because a lot of effort has been put into making sure it does work - there is some serious code going on behind this. This is not a subject for beginners, or that can be easily summarised into a tutorial.

For a better idea, start here: CodeProject articles on Syntax Highlighting[^]


这篇关于在C#中发布一篇文章的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆