I want to find the sum of ascii values of string. How to do it?
string value = "9quali52ty3";
// Convert the string into a byte[].
byte[] asciiBytes = Encoding.ASCII.GetBytes(value);
I'am getting output as 57 113 117 97 108 105 53 50 116 121 51.
Now I want to find the sum of above ascii : 57+113+117+97+108+53+50+116+121+51