Code Playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Code Playground

I'm trying to use the Convert.ToHexString() Method [https://docs.microsoft.com/en-us/dotnet/api/system.convert.tohexstring?view=net-6.0] but I keep getting an error saying 'Convert' doesn't have a ToHexString method?

5th Apr 2022, 10:21 PM
Yumi
Yumi - avatar
4 Answers
+ 1
I don't see where you used it in your Hex Test code.
5th Apr 2022, 11:37 PM
William Owens
William Owens - avatar
0
Did you use system?
5th Apr 2022, 10:35 PM
William Owens
William Owens - avatar
0
William Owens Yes, I got it to work in visual studio. Just not in the code area on here
5th Apr 2022, 10:39 PM
Yumi
Yumi - avatar
0
Ahh I didn't even think about checking that
6th Apr 2022, 1:06 PM
Yumi
Yumi - avatar