using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace GetSetTest{
class A { ...
分类:
其他好文 时间:
2014-05-10 07:39:24
阅读次数:
220
使用索引器的目的是为了能够像数组一样访问类中的数组型的对象。using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Threading.Tasks;namespace...
分类:
其他好文 时间:
2014-05-10 05:43:44
阅读次数:
218
参考资料:《大话设计模式》//模板方法模式--处理问题的步骤相同,但步骤的实现不同using
System;using System.Collections.Generic;using System.Linq;using
System.Text;namespace ds_templatemethod...
分类:
其他好文 时间:
2014-05-10 05:19:04
阅读次数:
322
参考资料:《大话设计模式》简单工厂模式://////简单工厂模式实验,2014.05.07---通过工厂类实例化对象///using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespa...
分类:
其他好文 时间:
2014-05-10 05:16:31
阅读次数:
332
参考资料《大话设计模式》using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_proxy{ class Program { static ...
分类:
其他好文 时间:
2014-05-10 05:15:33
阅读次数:
290
1、mysql_insert_id(): 重新插入一段数据,获取它的ID $id =
mysql_insert_id();2、修改数据信息:UPDATE UPDATE `topic` SET `rootid`=$id WHERE
id=$id;3、ajax效果: 一个text输入框,在里面输入一个值...
分类:
其他好文 时间:
2014-05-10 03:08:54
阅读次数:
308
今天遇到一个问题调试了很久,关于css的优先级问题.像常规的id选择器(#test) >
类选择器class(.test) > 标签选择器input (中间还有一些类型不详举了),相比大家都很清楚这次遇到就是input[type=text]
{background:red} 和 类选择器 .aa{b...
分类:
Web程序 时间:
2014-05-10 03:07:59
阅读次数:
387
1.兼容360浏览器 字体大小设置 开发中需要使用em单位1 font-size: 0.83em; 2
font-family: "Arial";3 -webkit-text-size-adjust: none;
分类:
Web程序 时间:
2014-05-10 02:34:08
阅读次数:
289
Sublime Text默认的语法高亮已经很漂亮了,但是对于个别语言还是有些不爽。
默认高亮规则叫Monokai,可以从Preferences->Settings - Default中看到:
可是这个高亮规则对Json语法的高亮却显得有点单调。上图的配置就是Json格式的。
下面说说是怎么换的。
一、下载自己喜欢的主题
Control + Shift + P打开控制台,输入IP,...
分类:
其他好文 时间:
2014-05-09 22:45:00
阅读次数:
562
INI文件的操作(ASP.NET+C#)
(一)INIFile.cs
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace CreateWebDir
{
///
/// INIFile 的摘要说明。
///
public class INIFile ...
分类:
Web程序 时间:
2014-05-09 22:18:42
阅读次数:
319