For verilog (at least for system verilog) and c++ you can have all constants described as a list (assuming that all of them are of the same type), like the following:
a=0, b= 1, c = 2, ..;
in c++ you would use
const int
#include <myconsts>
in verilog (at least in system verilog) you can use this
parameter int
`include "myconsts"
I guess c# does not have includes. So, you would need a pre-pcocessing script there at least to include your constants in a class. You might be able to use 'cpp' for this. Sorry, do not know much about c#.
Actually, to make all similar i would probably use cpp to generate the file i need:
#ifdef CPP
const int
#elsif VERILOG
parameter int
#elsif CSHARP
class Constants {
const int
#endif
a = 0,
c = 1,
d = 2;
#ifdef(CSHARP)
};
#endif