Asp.Net获取IP的方法
摘要:服务端://方法一HttpContext.Current.Request.UserHostAddress; //方法二HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];//方法三string strHostName = System...
阅读全文
posted @
2015-09-25 20:50
miaoying
阅读(180)
推荐(0) 编辑
c# 了解委托
摘要:public delegate void aHandler(string text); public class A1 { public void Print(string txt) { Console.WriteLine(txt + "...
阅读全文
posted @
2015-09-23 19:22
miaoying
阅读(160)
推荐(0) 编辑