Reputation: 16299
Is it possible to enable XML intellisense in a C# class as it is in the VB editor? Similar to this article's prescriptions:
http://msdn.microsoft.com/en-us/library/bb531325.aspx
Would like to not have to use xsd.exe to generate a class from the XML.
Upvotes: 3
Views: 808
Reputation: 1499740
No, because C# doesn't support XML literals like VB does in the first place - there's really nowhere in the language where the IntelliSense would pop up, unless it detected that you were calling Elements
on an XElement
etc.
Upvotes: 5
Reputation: 11617
Not currently - the feature is VB.Net only, commonly called XML Literals.
Upvotes: 1