c#星期二讲解题
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { //要求1+1=? //要求整数+整数=? static void Main(string[] args) { Console.WriteLine(Add(1, 2)); } private static int Add(int a, int b) { return a + b; } }}程序就是把相同的地方提取出来和不同的地方分别提取出. 阅读全文
posted @ 2011-10-18 09:58 叮铛猫 阅读(150) 评论(0) 推荐(1)
浙公网安备 33010602011771号