hello

摘要: Java中的string拥有CharAt()方法,C#是不拥有的,为了使用方便,我们自己可以写一个。using System; namespace Company{ public class TestMain{ static void Main(){ string str = "abcdefg"; string n_str = str.CharAt(3); Console.WriteLine(n_str); } } public static class... 阅读全文
posted @ 2012-12-10 13:32 B追风少年 阅读(6982) 评论(0) 推荐(0) 编辑

hello too