代码:using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json;//引用命名空间 namespace ConsoleApplication3 {  
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Singleton设计模式(单实例) namespace ConsoleApplication6 {
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using System.Threading;namespace WindowsFormsApplication1
using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using System.Threading;//引用线程的命名空间
=================插件实施与应用基本流程 1,开发此程序的人 提供接口(提供DLL) 2,第三方开发团队(开发插件)严格按照接口,实现功能。并打包成DLL 3,使用者下载第三方开发团队开发出来的插件,并把查询复制到程序相应的文件夹里
=================================AttributeUsage类 属性: AllowMultiple 指定是否可以在某个类或者方法中存在多个特性 例如在方法上有多个特性 [Developer("李四", "项目主管", Yesno = true)] [Developer("王五", "项目经理", Yesno = true)] public void aa() {}
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { //结构(值类型),可以不用实例化
=======================================主窗体
public partial class _05 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { select(1, 2, 3);
0,ref是传递的地址,out是返回值
获取日期+时间,获取日期,其他
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号