易截截图软件、单文件、免安装、纯绿色、仅160KB

C#发牌

之前不太喜欢C#,无意中发现linq,用来实现排序是如此简单,所以又用C#写了遍发牌程序
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
    class Program
    {
       
        static void Main(string[] args)
        {  
            //IEnumerable<string> expr = from s in cards
            //                           where s.Length == 5
            //                           orderby s
            //                           select s.ToUpper();
            //foreach (string item in expr)
            //Console.WriteLine(item);
            //Console.ReadKey();
            Program o = new Program();
            List<string> cards = o.newCards();
            o.exchangeCards(30, cards);
            List<List<string>> all = o.dispatchCards(6, ca


相关文档:

C#一次连接数据库执行多条sql语句(三种方法)

第一种方法:
            string str="server=.;uid=sa;pwd=111111;database=text_db";//连接字符串
            SqlConnection SCON = null;//连接对象
       &n ......

C# word转换成HTML

C# word转换成HTML
添加com引用Microsoft word 11.0 Object Library
添加using System.Threading;using System.IO;
       //实例化一个Word
        Microsoft.Office.Interop.Word.ApplicationClass appclass = new Microsoft.Office.Inter ......

ASP.NET中Excel操作类C#版

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Microsoft.Office.Inter ......

在C#中运用 SQLite

  SQLite 是一个嵌入式的联系数据库系统,运用十分广泛。在一些数据量不大的运用 程序中,假如运用 SQLite可以极大的降低部署时的工作量。 要在C#中运用 SQLite也很基本,只要找一个C#的wrapper就可以了,例如,我运用的就是来自
  http://sqlite.phxsoftware.com/  的一个dll,System.Data.SQLite. 下载下来的文件是 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号