Variable Naming Issue (Conflicts?)

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 22 12:38:08 PDT 2014


Casey:

> My question is, is there a way I can prevent this conflict from 
> occurring without affecting what the struct will look like?

The usual strategy is to append an underscore. (I think C# uses a 
@ prefix).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list