Noam,
Sorry for the unfinished example... Just for completeness (I still have to
get used to this web interface. The tab key does not quite act as I would
want it to...):
public class MyConstants
{
public const int TweeEnVeertig = 42;
public const string HalloWereld = "HelloWorld";
}
class Question
{
static void Main(string[] args)
{
System.Console.WriteLine("{0} the answer is {1}",
MyConstants.HalloWereld, MyConstants.TweeEnVeertig);
}
}
I hope that answer the question,
Robert
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.