[Mono-list] Monodoc format question

Jonathan Gilbert 2a5gjx302@sneakemail.com
Thu, 24 Jul 2003 09:06:26

At 08:37 PM 22/07/2003 -0400, you wrote:
>... The good thing about the type 
>signatures in C# is "interface" and "class" are keywords, so they should 
>never be the names of types.  ...

Actually, C# specifically allows keywords to be used as identifiers, as
long as they are preceded with an escape symbol ('@'):

class @class
  int @void;
  double @interface;
  public decimal @private;

While this is obviously bad practice, it is not impossible to do, and so
any documentation parser should be able to handle that scenario.