12 2016 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03判断闰年 { class Program { static void Main(string[] args...
阅读全文
摘要:1.url的确定 string ftpServerIP = "29.184.249.98"; string path=new Uri("ftp://"+ftpServerIP+"/").ToString(); 2. 创建连接 FtpWebRequest reqFTP; public void Con
阅读全文
摘要:デリゲート(C# 1.0) そもそもデリゲート(delegate-直訳すると委任・委託・委譲という意味)とはその名前の通り、処理の委譲を支援するための仕組みとなります。 委譲とは大辞林によると「権限などを他に任せて譲ること」となっています。たとえば、複数店舗を展開しているスーパーがあったとします。本
阅读全文
摘要:using System; using System.Diagnostics; using System.Net; using System.Text; using System.Web; using System.Linq; using System.IO; using System.Collections.Generic; namespace AdUrlConvert { class Pro...
阅读全文
摘要:一、SQL、Linq、lamda表达式 同一功能不同写法 SQL LINQ Lambda SELECT * FROM HumanResources.Employee from e in Employees select e Employees .Select (e => e) SELECT e.Lo
阅读全文
摘要:以前在开发中为了对List,String[].Array进行元素的查找一般都是这样做:List lists = new List();list.add("111");.....for(int i=0;i<list.length;i++){ if(list[i].equals("要查找的元素")) {
阅读全文
摘要:List在.NET里面使用得非常频繁,但有好多人不了解它各种小用法。我就一直记不大住... asp.net中List的简单用法,例如: 1 2 3 4 5 6 7 List<int> list = new List<int>(); //新增数据 list.Add(123); //修改数据 list[
阅读全文
摘要:using System;using System.Collections.Generic;using System.Drawing;using System.Globalization;using System.IO;using System.Linq;using System.Net;using
阅读全文

浙公网安备 33010602011771号