2009年1月19日
摘要: using System; using System.Web; using System.Drawing; using System.Drawing.Drawing2D; using System.Web.SessionState; p... 阅读全文
posted @ 2009-01-19 18:11 dongpo 阅读(292) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Web; public class Handler : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; contex... 阅读全文
posted @ 2009-01-19 18:05 dongpo 阅读(3068) 评论(0) 推荐(1) 编辑
摘要: 我们都知道,ref是传递参数的地址,out是返回值,两者有相同之处,不过也有不同的地方。 使用ref前必须对变量赋值,而out则不用。 out的函数会清空变量,即使变量已经赋值也不行,退出函数时所有out引用的变量都要赋值,ref引用的可以修改,也可以不修改。 以下摘自互联网------------------------------ using System; class TestApp { ... 阅读全文
posted @ 2009-01-19 17:36 dongpo 阅读(577) 评论(0) 推荐(0) 编辑