摘要:
public static void changemethod(int a,int b) { a=a+b; b=a-b; a=a-b; Console.Write(a); Console.Write(" "); Console.Write(b); Console.Read(); }调用方法changemethod(1,2);输出结果:2 1 阅读全文
摘要:
废话不说,直接上代码好了public static void Main() { string str=" "; int sum; for(int i=1;i<=9;i++) { for(int j=1;j<=i;j++) { sum=i*j; Console.Write(i); Console.Write("*"); Console.Write(j); ... 阅读全文