摘要: 第一个类 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace My Bank { class Bank { 阅读全文
posted @ 2018-12-06 16:22 婷好 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 深入C#的String类 一、String类的常用方法 1、index Of(); 获取指定字符串的位置,如果没有则返回-1。 2、Sub String(); 截取字符串,参数1代表开始位置,参数2代表截取长度。 3、ToLower(); 转换为小写。 4、ToUpper(); 转换为大写; 5、E 阅读全文
posted @ 2018-12-06 11:39 婷好 阅读(362) 评论(0) 推荐(0) 编辑