
C#
文章平均质量分 70
Jack_Lpz
Jack_Li style
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C#写的工厂抽象模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FactoryAbstruct { class Program { static void Main(string[] args) {原创 2016-07-10 11:07:00 · 278 阅读 · 0 评论 -
C#单例模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace Instanse { class Program { static voi原创 2016-07-10 15:03:48 · 300 阅读 · 0 评论 -
多线程生成海量数据和多线程海量数据查找
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; namespace MultiThreadMaxNumber { class Program原创 2016-07-24 21:36:46 · 459 阅读 · 0 评论 -
C#静态类的使用[简单]
using System; using System.Collections.Generic; using System.Linq; using System.Text; /*静态变量使用*/ /*以前在C++的博客中也有介绍:静态变量确实帮助了我们很多,使得程序运用确实比较轻松*/ /*实际作用: * 对于公有部分,我们可以使用静态数据,创建一个实例,而使得所有人原创 2016-07-17 12:22:39 · 2697 阅读 · 0 评论 -
C#正则表达式小结
只能输入数字:"^[0-9]*$"。只能输入n位的数字:"^\d{n}$"。只能输入至少n位的数字:"^\d{n,}$"。只能输入m~n位的数字:。"^\d{m,n}$"只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。只能输入有1~3位小数的正实数:"^[0-9]+(.[0-9]{1,3})?$"。只能输转载 2016-09-01 20:55:31 · 238 阅读 · 0 评论 -
wpf进行6个窗口的随意拉伸
wpf进行6个窗口的随意拉伸,随便写的小玩意。<Window x:Class="WpfApp9.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...原创 2018-04-11 17:20:40 · 1466 阅读 · 0 评论