摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _49_ref_out{ class Program { static void Main(string[] args) { /* 函数的ref out参数 * 函数参数默认的值传递的,也就是"复制一份",例子: * int age = 20; * Int Age(age); ... 阅读全文
posted @ 2012-02-21 23:32 简单--生活 阅读(212) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;/* * 字符串的处理 */namespace _42字符串基础{ class Program { static void Main(string[] args) { //C#中的单个字符用单引号包含就是char类型,('a'),单引号中放且只能放一个字符 //char a = 'a'; //char b = 'aaa'; ... 阅读全文
posted @ 2012-02-21 00:05 简单--生活 阅读(334) 评论(0) 推荐(0) 编辑
简单--生活(CSDN)