摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace ConsoleApplication1 7 { 8 class Program 9 { 10 /* 先来了解一下什么是实参, 什么是形参. 11 所谓形参其实也就是说函数定义的时候所带的参数. 比如 static void Myfuntion(int i , int t) 其中 int ... 阅读全文
posted @ 2012-09-04 21:58 梦断难寻 阅读(7686) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace ConsoleApplication1 7 { 8 class Program 9 {10 // 函数的定义方法11 // 修饰符 返回值 函数名 (参数)12 // 定义函数. ↓13 static void MyFuntion1(int i, int t) //一个无返回值的函数, (Vo... 阅读全文
posted @ 2012-09-04 21:18 梦断难寻 阅读(16946) 评论(0) 推荐(0) 编辑