Is there a ToString() generator available in Visual Studio 2010?

前端 未结 11 820
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 17:39

Is there any way to generate a ToString() using Visual Studio 2010?

I really don\'t want to do this by hand!

[EDIT]

I\'m looking for a s

11条回答
  •  情歌与酒
    2021-01-03 18:15

    You can create your own custom snippet for every boilerplate code and access it from IntelliSence
    Here is a good tutorial http://msdn.microsoft.com/en-us/library/ms165392.aspx

    Have a good look at how to create snippets with replacements. You can create quite generic structures.

提交回复
热议问题