摘要:
public class StudentModel { [Display(Name="学生编号")] public int StuId { set; get; } [Required(ErrorMessage="请输入学生姓名!")] [StringLength(10,ErrorMessage="姓名长度不能长于10!")] [Display(Name="学生姓名")] [Remote("ValirStuName","Student",HttpMethod="Pos 阅读全文
摘要:
class Program { static void Main(string[] args) { string str = Console.ReadLine(); Console.WriteLine(ReverseByFun(str)); Console.WriteLine(ReverseByArray(str)); } /// /// 方法一 /// /// 待反转字符串 /// ... 阅读全文