摘要: //截取并得到某个字符串的一部分 //参数str:待截取的字符串 //参数startIndex:开始截取的位置,最小值为0 //参数length:截取的长度 //返回值:截取后的新字符串 static string GetSubstring(string str,int startIndex,int 阅读全文
posted @ 2017-08-19 20:20 麻楠子 阅读(244) 评论(0) 推荐(0)
摘要: 从一段代码开始 code-compile-Run编码-编译器-运行 1,在D盘简历一个文本文件(MyFirstProgram)2,示例: using System; public class Program { public static void Main() { Console.WriteLin 阅读全文
posted @ 2017-08-19 19:34 麻楠子 阅读(439) 评论(0) 推荐(0)