string s = "1234567";string last6chars = new string(s.Reverse().Take(6).Reverse().ToArray());//先反转顺序,从开头截取指定数量的字符,再反转顺序