随笔分类 - c#相关写法
例如for循环,switch类别的深度写法等。。。
摘要:var curlanguage = 引用.Resources.ResourcesLoad.SysLanguage; Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(curlanguage ); Threa
阅读全文
摘要:List<CoupleBackList> CoupleBackList_at = new List<CoupleBackList>(); var retData = RetDataList.AsEnumerable().Select(t => new { Id = t.Field<Guid>("Id
阅读全文
摘要:首先创建相应类,例如SubjectEdit; public class SubjectEdit { /// <summary> /// ID /// </summary> public int ProjTmId { get; set; } /// <summary> /// 名称 /// </sum
阅读全文
摘要:static void Main(string[] args) { //数组的基本写法 //1. //int[] str_num =new int[5]; //str_num[0] = 1; //str_num[1] = 2; //2. //int[] str_num1 = { 1, 2, 3, 4
阅读全文

浙公网安备 33010602011771号