Examples with "return operator" and their translation in Roemeens
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
/ use the custom enumerator instead of yield return operator, supplying this
/ foloseste iteratorul personalizat in loc de operatorul yield return,
I will discuss the yield return operator in greater detail in a future lesson, but for now, think of it just as a way of returning more than one value from a function.
Voi discuta despre operatorul yield return mai detaliat într-o lecție viitoare, dar, deocamdată, gândiți-vă la el doar ca o modalitate de returnare a mai multor valori dintr-o funcție.
You definitely know what the return operator does inside a function, it stops the execution immediately, and returns a value to the caller of the function.
Cu siguranță știți ce face operatorul return în interiorul unei funcții, oprește imediat execuția și returnează o valoare apelantului funcției.
Just like for functions, the return operator will immediately stop the execution of our method and return the execution workflow to where it was before the method call.
La fel ca pentru funcții, operatorul return va opri imediat executarea metodei noastre și va returna fluxul de executie unde a fost înainte de apelul metodei.
You don't know what yield return does, but you can think of it as the same thing as the simple return operator, but which does not stop the execution of the called function.
Nu știți însă ce face yield return, dar îl puteți imagina ca fiind același lucru ca și operatorul return simplu, care însă nu oprește executarea funcției apelate.
Using yield return allowed me to return that value, just like the normal return operator would, but it also did not end the loop, instead, it continue to return values until the for loop ended.
Folosirea yield return mi-a permis să returnez acea valoare, la fel cum ar face operatorul normal return, dar nu a încheiat bucla, în schimb, a continuat să returneze valori până când bucla for s-a încheiat.
Tags: C# keywords, functions, operators, other operators, return, return operator
If I had used the return operator, as soon as the first value of the for loop would be returned, the loop would be ended and the execution would step out of the GetEnumerator() function and return to the code that invoked it.
Dacă aș fi folosit operatorul return, imediat ce prima valoare a buclei for ar fi fost returnată, bucla s-ar fi încheiat și execuția ar fi ieșit din funcția GetEnumerator() și s-ar fi întors la codul care a invocat-o.
Return operator In few of our previous lessons, we used functions - methods that not only can be called, perform some action, but also return a value to the caller - the piece of code that called them.
În câteva dintre lecțiile anterioare, am folosit functii - metode care nu numai că pot fi apelate, pot efectua o acțiune, dar care pot și returna o valoare apelantului - bucata de cod pe care le-a invocat.
Andere resultaten
The market rate risk premium shows the return operators require for stocks compared to investments free of risk.
Rata primei de risc la valoarea pieței ilustrează randamentul pe care operatorii îl așteaptă de la acțiuni în comparație cu investițiile fără risc.
The typeof operator returns the string "boolean" for these primitive types.
If payment is required to partner a commission forthwith return the operator.
In cazul in care a fost platita, partenerul este obligat sa returneze comisionul operatorului.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.