Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζεται πλέον.
Κάντε αναβάθμιση σε Microsoft Edge για να επωφεληθείτε από τις τελευταίες δυνατότητες, τις ενημερώσεις ασφαλείας και την τεχνική υποστήριξη.
Which of the following options correctly returns a string value?
string
return "";
return 'a';
return 5;
Which of the following statements is true about the return keyword?
return
It starts a new iteration of a method.
It terminates the execution of a method.
It must always be used with a value or expression.
Which of the following options is a valid return statement?
return void;
return 5 % 2;
return Console.WriteLine();
You must answer all questions before checking your work.
Ήταν χρήσιμη αυτή η σελίδα;
Χρειάζεστε βοήθεια σχετικά με αυτό το θέμα;
Θέλετε να δοκιμάσετε να χρησιμοποιήσετε την επιλογή Ρωτήστε το Learn για να σας καθοδηγήσει σε αυτό το θέμα;