“No Overload Method for GetLine” Help (C#) [closed]

You are calling the GetLine declared non-static from within a static function.

Either mark the GetLine declaration as static, or create an instance of the class containing both the functions.

Leave a Comment