1.
引用类型是类型安全的指针,它们的内存是分配在堆(保存指针地址)上的。String、数组、类、接口和委托都是引用类型。2.
强制类型转换与as类型转换的区别:当类型转换非法时,强制类型转换将抛出一个System.InvalidCastException异常,而as不会抛出异常,它返回一个null...
分类:
其他好文 时间:
2014-05-23 07:27:25
阅读次数:
408
今天应老板的需求,需要将不是我们的页面修改一个链接,用js+iframe应该也能实现,但是我想尝试一下php实现方法。
首先你得先把别人的页面download到你的php中,实现方法可以用curl,
file,这里有一篇文章写的不错http://www.11jn.com/phpbb/viewt...
分类:
Web程序 时间:
2014-05-23 07:15:41
阅读次数:
354
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace SU{ /// /// 中文转拼音 /// public class
PinYin ...
分类:
其他好文 时间:
2014-05-23 06:46:51
阅读次数:
395
1 using System; 2 using System.Threading.Tasks; 3
using System.Runtime.InteropServices.WindowsRuntime; 4 using
Windows.Graphics.Imaging; 5 using...
分类:
移动开发 时间:
2014-05-23 06:35:37
阅读次数:
295
为角色管理配置应用程序。此元素是 .NET Framework 2.0
版中的新元素。configuration 元素(常规设置架构)system.web 元素(ASP.NET 设置架构)roleManager 元素(ASP.NET
设置架构) enabled="true|false" ...
分类:
Web程序 时间:
2014-05-23 06:02:48
阅读次数:
332
一:可选择保留位数,注释很解释的很详细,上图二:全部代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using Sys...
class SuperClass{ static{ System.out.println("super
class init!"); } static int superInt = 1; static String superString = "supS...
分类:
编程语言 时间:
2014-05-23 04:35:31
阅读次数:
253
效果截图:代码展示:using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Text;using Sys...
分类:
其他好文 时间:
2014-05-23 04:31:37
阅读次数:
312
file:///C|/Documentsand
Settings/Administrator/桌面/clip_image006.gif f...
分类:
其他好文 时间:
2014-05-23 04:15:24
阅读次数:
578
using System;using System.Collections.Generic;using
System.Text;namespace ConsoleApplication3{ class Program { static void
Main(string[] args) { doubl...
分类:
其他好文 时间:
2014-05-23 04:08:51
阅读次数:
427