Alan,
I am not 100% sure I understand what you are asking so I will ask you is I understand you correctly.
Do you want to pass a string (System.String) to a method that returns another string (System.String)?
Something like this:
string myString = "abcd";
string resultString = SomeMethod(myString);
Einar
>I want to build a string of characters, similar to a UPC code. Then convert those characters into a string of equivilant Hexa-decimal bytes (in test) each seperated by a space. I need it this way to pass it to some RFID hardware.
>
>Is there a pre-built class in C# that can convert the ASCII character to a HEX string? If not, does anyone have a way to accomplish this?
>
>thanks
>
>Alan Wyne
Semper ubi sub ubi.