What does this [Option(...)] C# attribute mean?

c#

Solution

This is a Command Line Option from one of the Console application libraries that help to parse command line arguments.

It might be from the Command Line Parser tool which has very similar syntax to your example.

Problem

What does this C# attribute mean? I am mostly working with C++, and I do know about the concept of attributes in C#, but not sure about this one: It is in a class. So basically we have a property, and an attribute for it. ``` [Option("h", "help", HelpText = "Shows this help message")] public bool Help { get; set; } ``` Thanks

Original source