M Mountain Bikn' Guy Dec 1, 2003 #1 Is it possible to define a culture that Microsoft has not already defined? If so, how would I do this? I'm using .NET/C#. I'm also a newbie. TIA.
Is it possible to define a culture that Microsoft has not already defined? If so, how would I do this? I'm using .NET/C#. I'm also a newbie. TIA.
T Ted Dec 1, 2003 #2 Sure, you can extend (specialize) the System.CultureInfo avaiable in the namespace System.Globalization Have a good look at the .NET API (open Visual Studio .NET, press View -> Object Browser and locate the classes belonging to the referred namespace). I suggest you analyse the enumeration: CultureTypes and categorize your intended culture appropriately. You can see all sorts of information about .NET types using this useful browser. Regards. Ted
Sure, you can extend (specialize) the System.CultureInfo avaiable in the namespace System.Globalization Have a good look at the .NET API (open Visual Studio .NET, press View -> Object Browser and locate the classes belonging to the referred namespace). I suggest you analyse the enumeration: CultureTypes and categorize your intended culture appropriately. You can see all sorts of information about .NET types using this useful browser. Regards. Ted
M Mountain Bikn' Guy Dec 2, 2003 #3 I know I can inherit from that class, but as I said it looks like a deadend. There is no way to add items to the CultureTypes enum, etc. Has anyone ever added their own culture? If so, how was it accomplished? Thanks!
I know I can inherit from that class, but as I said it looks like a deadend. There is no way to add items to the CultureTypes enum, etc. Has anyone ever added their own culture? If so, how was it accomplished? Thanks!