C# print exhadecimal code from int into string : I need to save a `string` with the `hexadecimal code` of an `int`.

For example the `hexadecimal` value for the `int 15` is `xoooF`.

My problem is that I have to save this code in a `string` like this:

    int myint = myStringLength; //this value might change
    string myIntExhCode = myint.convertThisIntoMyCode();

    //and the string has to be exactly "/xoooF"

So in this question I have two problmes:

- The first is how to automatically convert an `int` into the `hexadecimal` code like `15 = xoooF`

- The second is how to create a string containing `/xoooF` because any try of concatenating strings like this resulted into a `//xoooF` and this is not correct since in output I need the `string` to be converted into the `ascii code`.

How can I achieve those two tasks?

Any help will be appreciated