Create a new project, make it a C# console application, use all default settings. Open the generated Program.cs file and replace its contents with the following:
namespace ConsoleApplication1 { public class ParameterAttribute: System.Attribute { } class Program { [Parameter( name:"foo" )] int Field1; static void Main( string[] args ) { } } }
I know, there is an error in the code; please bear with me: