
C#技巧
文章平均质量分 78
qzq14
熟练掌握c#,sql server
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Knuth–Morris–Pratt算法(C#)
KMP算法在字符串方面有着广泛的应用,敏感词过滤,分词等。 使用C#实现了一把,作为备忘。 i指针回溯的算法为:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> public int Index(string转载 2010-04-16 15:37:00 · 669 阅读 · 0 评论 -
在子线程(非UI线程)中修改一个控件的值
您可能需要通过线程调用控件的方法或修改一个控件的值:比如修改进度条进度,时会抛出如下错误 Cross-thread operation not valid: Control XXX accessed from a thread other than the thread it was created on. .NET Framework 提供从任何线程都可安全调用的方法,以调用与其原创 2010-04-18 12:36:00 · 2626 阅读 · 0 评论