Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
o variabilă de tip
On the other hand, if we want to cast a variable of type object into a specific type, we need to use explicit type conversion.
Pe de altă parte, dacă dorim să convertim o variabilă de tip object într-un tip specific, trebuie să utilizăm conversia de tip explicită.
For instance, when we declare a variable of type string, which can hold text, it will not know in advance the length of the text we will store inside it.
De exemplu, atunci când declarăm o variabilă de tip șir de caractere, care poate conține text, aceasta nu va ști dinainte lungimea textului pa care îl vom păstra în interiorul ei.
In the above example, the program declares a variable of type int, which we initialize as 18.
În exemplul de mai sus, programul declară o variabilă de tip int, pe care o inițializăm cu valoarea 18.
If the application contains a SyncLock statement on a variable of type Object, you may receive an error message that resembles the following
Dacă aplicația conține o instrucțiune SyncLock pe o variabilă de tip obiect, este posibil să primiți un mesaj de eroare asemănător cu următorul
True, it is a variable of type Button, but its not a copy of a button!
Adevărat, este o variabilă de tip Button, dar nu este o copie a unui buton!
Declare a variable of type char and assign it as a value the character which has Unicode code 72 (use the Windows calculator in order to find hexadecimal representation of 72).
Declarați o variabilă de tip char și atribuiți-i ca valoare caracterul care are codul Unicode 72 (folosiți calculatorul din Windows pentru a afla reprezentarea hexadecimală a lui 72).
Assign the value obtained by the concatenation of the two variables of type string (do not miss the space in the middle) to a variable of type object.
Atribuiți valoarea obținută din concatenarea celor două variabile (nu omiteți spațiul din mijloc) unei variabile de tip object.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.