hi could you help I need to get a variable (name) in string format. for example below, I need to display "test" as a string.
int test = 69;
MessageBox.Show((string)test);
MessageBox.Show(test.ToString());
Thank you for your time.
Well, I have an enumeration:
public enum ShipOrientation
{
North,
East,
South,
West
}
and I'm doing some direction-based processing, and if int North applies an enumerated north direction.
iTEgg source
share