用最少的C#代码,实现1个功能的方法

piiboy 1 Reputation point
2019-12-18T08:09:23.693+00:00

尊敬的微软技术专家:
您好!

   请问用什么思路,能快速找到《用最少的C#代码,实现1个功能的方法》?

   1)项目情况
        1.1)用Visual Studio 2019、C#、SQL Server 2008 R2 开发1个WinForm模式的零售业进销存系统
        1.2)客户经常突发要开发一些小功能
        1.3)客户要求快速开发完这些小功能

   2)我要解决的问题
        2.1)用最快速度,找到实现这些小功能的方法
        2.2)用最少的开发量(如:最少的C#代码),实现这些小功能的方法

  3)举例
       功能描述:用“SQL Server的存储过程”找“该系统中的商品的编码表”,用C#代码,把存储过程的返回结果,生成为1个文本文件,每个字段之间,用“," 分割

       找“解决方法的思路”:
       3.1)找“这个C#的项目,其他人已开发,并正常运行的类似的代码”
       3.2)在.Net Framework 类库中,自顶向下,找"生成文件文件"的类
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,088 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sandra Aldana 5,381 Reputation points Microsoft Employee
    2019-12-18T18:14:57.6+00:00

    @piiboy , right now we do not support forums in Simplified Chinese. I recommend you ask the question in MSDN Forums, such as in the right forum under the Visual Studio category.

    Thanks you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.