I want to get the decimal ASCII value of a string in C#, for instance:
"abc123s"
would be: 97 98 99 49 50 51 115
(979899495051115)
'f1c3s1"would be:
102 49 99 51 115 49or
1024999511549`
I tried Convert.ToInt32
or Int.Parse
but they do not result in the desired effect.
What method can I use for this?