通过HttpWebRequest在后台对WebService进行调用 http://www.cnblogs.com/macroxu-1982/archive/2009/12/23/1630415.html http://www.oschina.net/code/snippet_188227_8068 using System; using System.Web; using System.Xml; using System.Collections; using System.Net; using…
今天和同事在关于foreach编译后是for循环还是迭代器有了不同意见,特做了个Demo,了解一下. 是啥自己来看吧! public class Demo { public static void main(String[] args) { int[] ints = new int[5]; for (int s : ints) { System.out.println(s); } String[] intss = new String[5]; for (String s : intss) { S…