W
wonil kim
Hello all,
I am new guy on C#. So, my question will be very simple to you guys here.
I want to use string constants array from C# like C++ like below.
in C++ :
char const * const attr_strings[] = {
"NORMAL",
"EDGE",
"SHADOW",
"UNDERLINE"
};
And, use it later like below :
cout << attr_strings[_attr] << endl;
How can I define above C++ like string constant arrays in C#?
Thanks.
I am new guy on C#. So, my question will be very simple to you guys here.
I want to use string constants array from C# like C++ like below.
in C++ :
char const * const attr_strings[] = {
"NORMAL",
"EDGE",
"SHADOW",
"UNDERLINE"
};
And, use it later like below :
cout << attr_strings[_attr] << endl;
How can I define above C++ like string constant arrays in C#?
Thanks.