A
Andrew R. Thomas-Cramer
C#, like Java, fails to provide a const-qualifier for references for
compile-time const checking.
In Java, I used to document intended const-qualified references (e.g.,
method parameters) with C++ syntax: "const*". Does anyone have a better
suggestion, for C#?
The best I've come up with is "OBJECT READONLY", but that overloads an
existing C# keyword that means something else.
andy thomas-cramer
compile-time const checking.
In Java, I used to document intended const-qualified references (e.g.,
method parameters) with C++ syntax: "const*". Does anyone have a better
suggestion, for C#?
The best I've come up with is "OBJECT READONLY", but that overloads an
existing C# keyword that means something else.
andy thomas-cramer