Dynamic code snippet c# visual studio

前端 未结 3 1228
我在风中等你
我在风中等你 2021-02-19 19:12

I am working on a WinForms project with some repetitive tasks everyday. So I thought creating code a snippet will help me out, but it works for fixed code only.

I want t

3条回答
  •  北海茫月
    2021-02-19 20:09

    You can try code generators based on scripts like CodeSmith (there is also something free).
    You can write your script based on variables you define (also based on database items) then generate the code.
    Generating code is a good approach becouse saves time but also standardize the code.

提交回复
热议问题