James Cadd
James Cadd

Reputation: 12216

VS 2010 Code Snippets - C# equivalent of <Imports>?

Is it possible for a C# code snippet to add lines to the "using" block at the top of a .cs file? I see the element for VB but that doesn't work in C#.

Upvotes: 2

Views: 628

Answers (1)

Thomas Levesque
Thomas Levesque

Reputation: 292405

From MSDN:

The Imports element is only supported for Visual Basic projects.

There is no equivalent for C#

Upvotes: 5

Related Questions