[Solved] Why I’m getting error message “wrong return type”


Your method says its return type is void but you return a string.

Remove return s and it should work. Besides this return type problem, the return keyword will get you out of this method. So you will never reach textFileChecksum.Text = s;

0

solved Why I’m getting error message “wrong return type”