随笔分类 -  c#相关写法

例如for循环,switch类别的深度写法等。。。
摘要:var curlanguage = 引用.Resources.ResourcesLoad.SysLanguage; Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(curlanguage ); Threa 阅读全文
posted @ 2020-09-03 15:01 点滴一言 阅读(144) 评论(0) 推荐(0)
摘要:List<CoupleBackList> CoupleBackList_at = new List<CoupleBackList>(); var retData = RetDataList.AsEnumerable().Select(t => new { Id = t.Field<Guid>("Id 阅读全文
posted @ 2020-06-28 12:13 点滴一言 阅读(2392) 评论(2) 推荐(0)
摘要:首先创建相应类,例如SubjectEdit; public class SubjectEdit { /// <summary> /// ID /// </summary> public int ProjTmId { get; set; } /// <summary> /// 名称 /// </sum 阅读全文
posted @ 2020-06-19 18:04 点滴一言 阅读(1432) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-11-22 16:01 点滴一言 阅读(154) 评论(0) 推荐(0)