0

Why does this code still result in cs0120?

I am creating an encryption program, but the code keeps resulting in cs0120 at line 19: the definition of the string I must print. View my code here: https://code.sololearn.com/cRfwyfoojzrB/#cs If you can, please send an upgraded version to see that Your answer works.

11th Jun 2020, 12:07 PM
OverdrivedProgrammer
3 Answers
0
Your code is blank?
11th Jun 2020, 6:20 PM
JME
0
Oops, didn't save - look again now
11th Jun 2020, 8:51 PM
OverdrivedProgrammer
0
just add static in front of string getInput()
11th Jun 2020, 9:42 PM
JME