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