06 2012 档案

摘要:HttpPostrequest=newHttpPost(url);//先封装一个JSON对象JSONObjectparam=newJSONObject();param.put("name","rarnu");param.put("password","123456");//绑定到请求EntryStringEntityse=newStringEntity(param.toString());request.setEntity(se);//发送请求HttpResponsehttpResponse=newDefaultH 阅读全文
posted @ 2012-06-29 15:18 M' 阅读(451) 评论(0) 推荐(0) 编辑
摘要:usingSystem;usingSystem.Diagnostics;usingSystem.Reflection;namespaceMyTest{publicclassTestM{publicvoidTest(){StackFramefr=newStackFrame(1,true);MethodBasemb=fr.GetMethod();Console.WriteLine(mb.Name);Console.WriteLine(mb.DeclaringType.Assembly.GetName());}}} 另外,也可以使用 System.Reflection.Assembly.GetCal 阅读全文
posted @ 2012-06-01 10:21 M' 阅读(2059) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示