using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace New_College.Common { public static class NatureHelper { /// /// 0、公办,1、民办,2中外合作,3 港澳台 /// /// /// public static List NatureNames(List Nature) { var str = new List(); if (Nature == null) return str; Nature.ForEach(a => { switch (a) { case 0: str.Add("公办"); break; case 1: str.Add("民办"); break; case 2: str.Add("中外合作"); break; case 3: str.Add("港澳台"); break; } }); return str; } } }