Jason,
If your class belong to the same namespace than the others classes in the
project, you won't need to write any extra code - just use
'MyClass.MyConstant' from any other place (supposing of course your constant
is defined public).
Regards - Octavio
"Jason Huang" <Ja************@hotmail.com> escribió en el mensaje
news:eU**************@TK2MSFTNGP15.phx.gbl...
Hi,
I defined some const string in MyClass.cs file, what's the most convient
way for my project to use this MyClass.cs file so I don't need to write
extra code?
Thanks for help.
Jason