- 博客(3)
- 资源 (3)
- 收藏
- 关注
转载 C#/Net代码精简优化技巧
在我们写代码的时候可以使用一些小的技巧来使代码变得更加简洁,易于维护和高效。下面介绍几种在C#/Net中非常有用的一些编程技巧。 1 空操作符(??) 在程序中经常会遇到对字符串或是对象判断null的操作,如果为null则给空值或是一个指定的值。通常我们会这样来处理 string name = value; if (name == null) { name = string.Empty; } 可以使用三元操作符(?:)对上面对吗进行优化 string name = value == null ?
2020-05-13 16:08:39
558
原创 C# 控制台程序-将数据库查询结果导出CSV文档
因项目需要从IBM DB2进行数据获取,并上传至指定FTP位置,非常基础的一个程序,留存备用。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Data; using System.Data.OleDb; namespace YieldRechargeToH2 {
2020-05-09 15:42:02
823
1
转载 Tiptop二次开发需要的工具及手册
Genero Studio 4GL官方开发手册.pdf:http://download.csdn.net/detail/yihuiworld/4284370 tiptop程式错误代码查询手册:http://download.csdn.net/detail/yihuiworld/4284354 tiptop gp 5.1数据库ds.sch:http://download.csdn.net/det...
2018-09-07 10:39:31
2446
TIPTOP GP5.25-總帳會計管理-大陸新會計準則(1).ppt
2020-05-13
Action編號更新檢視工具azzp195.docx
2020-05-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅