随笔分类 - C#
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Th...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { public delegate void del(); class Program { static void Main...
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Wind...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { public delegate int ceshi(T o1, T o2); s...
阅读全文
摘要:public delegate int ceshi(object o1, object o2); static void Main(string[] args) { string[] a = { "abCdeg", "ssxAf" }; object [] b = { 2, 9, 5, 6 }; ...
阅读全文
摘要:int n = 1; double zg = 1; double rb = 4; while (zg < rb) { n++; int k = 1; while (k <= 4) ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication3 { public delegate void ceshi(string[] names); class Program { ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xm...
阅读全文
摘要:读取 if (File.Exists("Book.xml")) { XmlDocument doc = new XmlDocument(); doc.Load("Book.xml"); XmlElement root = doc.DocumentElement; ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.IO; namespace ConsoleApplication1 { class Program { static void M...
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO...
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO...
阅读全文
摘要:OpenFileDialog open = new OpenFileDialog();//创建对话框 open.InitialDirectory = @"C:\Documents and Settings\All Users\桌面"; //设置对话框路径 open.Title = "对话框1"; //对话框标题 open....
阅读全文
摘要:电脑using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace shitou { class diannao { public int chuanquan() { Random rd = n...
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using DBHelper;...
阅读全文
摘要:string a = this.textBox1.Text; // string [] b=a.Split("\r\n".ToCharArray(),StringSplitOptions.RemoveEmptyEntries); string[] b = textBox1.Lines; string
阅读全文
摘要:double a = double.Parse( this.textBox1.Text); double b = double.Parse(this.textBox2.Text); double c =0; switch (this.comboBox1.Text) { ...
阅读全文
摘要:MySqlParameter[] a=new MySqlParameter[]{new MySqlParameter("@stu_id",stu_id)}; 参数使用
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using MySql.Data.MySqlClient; using System.Data; namespace DBHelper { /// ///...
阅读全文
摘要:FORM1 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using M...
阅读全文